Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005419/0.005419, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 192.6 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7563/0.7563, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 70.28 kB / 0.5851 GB, free: 21.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1489, allocations: 80.92 MB / 0.6641 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5658/0.7148, allocations: 153.8 MB / 0.8143 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01471/0.7295, allocations: 10.4 MB / 0.8245 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.7307, allocations: 16.75 kB / 0.8245 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.7318, allocations: 266.2 kB / 0.8247 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.7352, allocations: 0.9085 MB / 0.8256 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.7381, allocations: 1.031 MB / 0.8266 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001933/0.74, allocations: 1.519 MB / 0.8281 GB, free: 448 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.7418, allocations: 1.137 MB / 0.8292 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.7438, allocations: 0.6743 MB / 0.8299 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008948/0.7447, allocations: 0.5543 MB / 0.8304 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.745, allocations: 123.1 kB / 0.8305 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.747, allocations: 1.016 MB / 0.8315 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004137/0.7475, allocations: 357.6 kB / 0.8319 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008535/0.7483, allocations: 0.6151 MB / 0.8325 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.7515, allocations: 2.076 MB / 0.8345 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7515, allocations: 0 / 0.8345 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7515, allocations: 0 / 0.8345 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.213e-05/0.7516, allocations: 2.281 kB / 0.8345 GB, free: 12.24 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003553/0.7551, allocations: 1.616 MB / 0.8361 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.7552, allocations: 15.19 kB / 0.8361 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000251/0.7555, allocations: 155.6 kB / 0.8363 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.7572, allocations: 260.9 kB / 0.8365 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.7588, allocations: 1.04 MB / 0.8375 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/0.7589, allocations: 71.94 kB / 0.8376 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.759, allocations: 92.03 kB / 0.8377 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.7607, allocations: 1.042 MB / 0.8387 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.7608, allocations: 0 / 0.8387 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.7609, allocations: 41.75 kB / 0.8387 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.7609, allocations: 22.53 kB / 0.8387 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.7629, allocations: 1.268 MB / 0.84 GB, free: 8.637 MB / 0.6075 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.004715/0.7676, allocations: 3.117 MB / 0.843 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.7692, allocations: 1.01 MB / 0.844 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006665/0.7699, allocations: 396.9 kB / 0.8444 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/0.7702, allocations: 141.2 kB / 0.8445 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009569/0.7711, allocations: 0.5389 MB / 0.8451 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 2.735e-06/0.7712, allocations: 3.188 kB / 0.8451 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.003681/0.7748, allocations: 1.505 MB / 0.8465 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.775, allocations: 199 kB / 0.8467 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.7761, allocations: 0.9802 MB / 0.8477 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.29e-05/0.7762, allocations: 45.7 kB / 0.8477 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.7766, allocations: 448.3 kB / 0.8481 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.7768, allocations: 283.8 kB / 0.8484 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.7771, allocations: 154.5 kB / 0.8486 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7772, allocations: 341.8 kB / 0.8489 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/0.7779, allocations: 297.8 kB / 0.8492 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.7786, allocations: 433.1 kB / 0.8496 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.7799, allocations: 0.714 MB / 0.8503 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.78, allocations: 0 / 0.8503 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002226/0.7822, allocations: 0.9509 MB / 0.8512 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.7822, allocations: 8 kB / 0.8512 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7822, allocations: 64 / 0.8512 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006955/0.7829, allocations: 117.6 kB / 0.8513 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007984/0.7837, allocations: 179.8 kB / 0.8515 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.7868, allocations: 3.071 MB / 0.8545 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/0.7876, allocations: 91.23 kB / 0.8546 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.7877, allocations: 35.92 kB / 0.8546 GB, free: 11.76 MB / 0.6231 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 (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004454/0.7881, allocations: 292 kB / 0.8549 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.7883, allocations: 102.9 kB / 0.855 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.7911, allocations: 1.216 MB / 0.8562 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.7911, allocations: 11.94 kB / 0.8562 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7911, allocations: 4 kB / 0.8562 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.7911, allocations: 3.984 kB / 0.8562 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003907/0.795, allocations: 2.26 MB / 0.8584 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.795, allocations: 0 / 0.8584 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/0.7959, allocations: 195.7 kB / 0.8586 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005353/0.7964, allocations: 101.6 kB / 0.8587 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.64e-05/0.7965, allocations: 23.98 kB / 0.8587 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.7994, allocations: 3.101 MB / 0.8618 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7994, allocations: 0 / 0.8618 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.8019, allocations: 1.139 MB / 0.8629 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.8024, allocations: 303.6 kB / 0.8632 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.8026, allocations: 23.94 kB / 0.8632 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007801/0.8034, allocations: 67.92 kB / 0.8632 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.8036, allocations: 68.91 kB / 0.8633 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.8037, allocations: 39.97 kB / 0.8633 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001154/0.8049, allocations: 0.7215 MB / 0.8641 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8049, allocations: 0 / 0.8641 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001536/0.8064, allocations: 415.2 kB / 0.8644 GB, free: 1.289 MB / 0.6231 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004363/0.8108, allocations: 2.291 MB / 0.8667 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.8129, allocations: 1.034 MB / 0.8677 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8129, allocations: 0 / 0.8677 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.8141, allocations: 0.6981 MB / 0.8684 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.8155, allocations: 345 kB / 0.8687 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/0.8295, allocations: 7.96 MB / 0.8765 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.8303, allocations: 1.079 MB / 0.8775 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001055/0.8313, allocations: 307.2 kB / 0.8778 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/0.8321, allocations: 435.3 kB / 0.8782 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.8321, allocations: 0 / 0.8782 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08299/0.9151, allocations: 26.38 MB / 0.904 GB, free: 9.027 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.03, allocations: 11.64 kB / 0.904 GB, free: 9.016 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)