Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8835/0.8835, allocations: 133.9 MB / 436.6 MB, free: 13.62 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 0.6051 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4682, allocations: 84.66 MB / 0.6878 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2171/0.6853, allocations: 167.5 MB / 0.8514 GB, free: 14.47 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4501/1.135, allocations: 17.19 MB / 0.8682 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/1.137, allocations: 31.97 kB / 0.8682 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/1.139, allocations: 0.5409 MB / 0.8687 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00629/1.145, allocations: 1.685 MB / 0.8704 GB, free: 1.848 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005752/1.151, allocations: 1.395 MB / 0.8717 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006077/1.157, allocations: 2.54 MB / 0.8742 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003984/1.161, allocations: 1.643 MB / 0.8758 GB, free: 1.672 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00614/1.167, allocations: 1.4 MB / 0.8772 GB, free: 1.652 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/1.169, allocations: 1.067 MB / 0.8782 GB, free: 1.652 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006749/1.17, allocations: 209 kB / 0.8784 GB, free: 1.652 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/1.174, allocations: 1.589 MB / 0.88 GB, free: 1.629 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007882/1.175, allocations: 0.7842 MB / 0.8807 GB, free: 1.629 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/1.176, allocations: 1.185 MB / 0.8819 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006197/1.182, allocations: 3.561 MB / 0.8854 GB, free: 1.02 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.182, allocations: 5.125 kB / 0.8854 GB, free: 1.02 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.863e-06/1.182, allocations: 0 / 0.8854 GB, free: 1.02 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.202e-05/1.182, allocations: 0 / 0.8854 GB, free: 1.02 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.008116/1.19, allocations: 2.875 MB / 0.8882 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/1.191, allocations: 10 kB / 0.8882 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003101/1.191, allocations: 239.3 kB / 0.8884 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003879/1.195, allocations: 0.5795 MB / 0.889 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/1.199, allocations: 3.406 MB / 0.8923 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-05/1.199, allocations: 132 kB / 0.8924 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/1.2, allocations: 169.7 kB / 0.8926 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/1.202, allocations: 1.886 MB / 0.8944 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/1.203, allocations: 4.062 kB / 0.8944 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/1.203, allocations: 74 kB / 0.8945 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/1.203, allocations: 39.84 kB / 0.8945 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/1.206, allocations: 2.063 MB / 0.8966 GB, free: 14.71 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009637/1.215, allocations: 6.198 MB / 0.9026 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/1.218, allocations: 1.964 MB / 0.9045 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/1.219, allocations: 0.6829 MB / 0.9052 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006206/1.22, allocations: 433.6 kB / 0.9056 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/1.221, allocations: 0.9367 MB / 0.9065 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 2.875e-06/1.221, allocations: 0.7188 kB / 0.9065 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006741/1.228, allocations: 2.875 MB / 0.9093 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/1.228, allocations: 195.4 kB / 0.9095 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004159/1.232, allocations: 4.035 MB / 0.9135 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003047/1.233, allocations: 57.3 kB / 0.9135 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000837/1.234, allocations: 0.8893 MB / 0.9144 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004849/1.234, allocations: 479.1 kB / 0.9148 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003555/1.234, allocations: 228.3 kB / 0.9151 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.235, allocations: 346.2 kB / 0.9154 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009325/1.236, allocations: 0.5526 MB / 0.9159 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/1.237, allocations: 0.7755 MB / 0.9167 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/1.239, allocations: 1.277 MB / 0.9179 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.239, allocations: 1.938 kB / 0.9179 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003849/1.243, allocations: 1.723 MB / 0.9196 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.243, allocations: 5.875 kB / 0.9196 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.243, allocations: 1.844 kB / 0.9196 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/1.244, allocations: 215.7 kB / 0.9198 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.245, allocations: 308.5 kB / 0.9201 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006867/1.252, allocations: 7.33 MB / 0.9273 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.254, allocations: 151.5 kB / 0.9274 GB, free: 2.574 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/1.254, allocations: 51.27 kB / 0.9275 GB, free: 2.574 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001292/1.255, allocations: 473.5 kB / 0.9279 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008317/1.256, allocations: 196 kB / 0.9281 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/1.261, allocations: 2.063 MB / 0.9301 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.261, allocations: 18.5 kB / 0.9302 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.261, allocations: 2.656 kB / 0.9302 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/1.261, allocations: 6.078 kB / 0.9302 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007778/1.269, allocations: 3.944 MB / 0.934 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.269, allocations: 0.7188 kB / 0.934 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.27, allocations: 312.1 kB / 0.9343 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008633/1.271, allocations: 205.5 kB / 0.9345 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/1.271, allocations: 41.19 kB / 0.9345 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006889/1.278, allocations: 7.359 MB / 0.9417 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.278, allocations: 0.9062 kB / 0.9417 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/1.283, allocations: 1.925 MB / 0.9436 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.284, allocations: 0.5021 MB / 0.9441 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005962/1.285, allocations: 28.06 kB / 0.9441 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/1.287, allocations: 107.6 kB / 0.9442 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/1.287, allocations: 105.2 kB / 0.9443 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/1.287, allocations: 63.95 kB / 0.9444 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004295/1.291, allocations: 3.104 MB / 0.9474 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.291, allocations: 0 / 0.9474 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002747/1.294, allocations: 0.6478 MB / 0.9481 GB, free: 4.238 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00756/1.302, allocations: 3.14 MB / 0.9511 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00409/1.306, allocations: 1.945 MB / 0.953 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.306, allocations: 5.766 kB / 0.953 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002425/1.308, allocations: 1.335 MB / 0.9543 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/1.312, allocations: 0.5311 MB / 0.9548 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0408/1.352, allocations: 20.72 MB / 0.9751 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/1.354, allocations: 1.513 MB / 0.9766 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002491/1.357, allocations: 0.5088 MB / 0.9771 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/1.359, allocations: 0.8507 MB / 0.9779 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of SimCode: time 1.332e-06/1.359, allocations: 4 kB / 0.9779 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/1.481, allocations: 47.35 MB / 1.024 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/17.18, allocations: 0.625 kB / 1.024 GB, free: 6.961 MB / 0.7794 GB " [Timeout remaining time 643] (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.882208476308733] Failed to read output from testmodel.py, exit status != 0: 17.40547314239666 17.430177762 16.243157986 Calling exit ...