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.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001248/0.001248, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8541/0.8541, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 64.16 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1341, allocations: 80.93 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.3572/0.4913, allocations: 151.5 MB / 0.7317 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.5036, allocations: 10.44 MB / 0.7419 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.5048, allocations: 20.66 kB / 0.7419 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.5058, allocations: 213 kB / 0.7421 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.5084, allocations: 0.7569 MB / 0.7429 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.5108, allocations: 0.9064 MB / 0.7438 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.5124, allocations: 1.505 MB / 0.7452 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.5139, allocations: 1.068 MB / 0.7463 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.5158, allocations: 0.5826 MB / 0.7468 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007557/0.5166, allocations: 0.5267 MB / 0.7473 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.5168, allocations: 60.28 kB / 0.7474 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.5186, allocations: 0.96 MB / 0.7483 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.5189, allocations: 291.3 kB / 0.7486 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006106/0.5195, allocations: 0.5538 MB / 0.7492 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.522, allocations: 1.994 MB / 0.7511 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.522, allocations: 0 / 0.7511 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.01e-07/0.522, allocations: 0 / 0.7511 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.522, allocations: 0 / 0.7511 GB, free: 2.043 MB / 0.5606 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.002526/0.5246, allocations: 1.625 MB / 0.7527 GB, free: 412 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.5246, allocations: 8.031 kB / 0.7527 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.5248, allocations: 143.7 kB / 0.7528 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.5263, allocations: 266.2 kB / 0.7531 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.5275, allocations: 1.027 MB / 0.7541 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.5276, allocations: 70 kB / 0.7542 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.5277, allocations: 84 kB / 0.7542 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.5294, allocations: 1.043 MB / 0.7553 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5294, allocations: 0 / 0.7553 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.568e-05/0.5295, allocations: 44 kB / 0.7553 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.5295, allocations: 20 kB / 0.7553 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.5315, allocations: 1.276 MB / 0.7566 GB, free: 12.34 MB / 0.5762 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.004489/0.536, allocations: 3.127 MB / 0.7596 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.5378, allocations: 1.019 MB / 0.7606 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/0.5384, allocations: 391.2 kB / 0.761 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.5387, allocations: 134.1 kB / 0.7611 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009807/0.5397, allocations: 0.5539 MB / 0.7617 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=86): time 2.474e-06/0.5397, allocations: 0 / 0.7617 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86): time 0.003738/0.5434, allocations: 1.503 MB / 0.7631 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.5435, allocations: 192.9 kB / 0.7633 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.5446, allocations: 0.9812 MB / 0.7643 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.5447, allocations: 49.7 kB / 0.7643 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.545, allocations: 444.4 kB / 0.7647 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.5452, allocations: 287.8 kB / 0.765 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.5454, allocations: 154.5 kB / 0.7652 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5455, allocations: 341.9 kB / 0.7655 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.5461, allocations: 297.8 kB / 0.7658 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.5469, allocations: 441 kB / 0.7662 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.5482, allocations: 0.71 MB / 0.7669 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5482, allocations: 4 kB / 0.7669 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002132/0.5503, allocations: 0.9548 MB / 0.7678 GB, free: 484 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5503, allocations: 11.94 kB / 0.7678 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5504, allocations: 0 / 0.7678 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000734/0.5511, allocations: 109.7 kB / 0.7679 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007848/0.5519, allocations: 183.8 kB / 0.7681 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.5546, allocations: 2.844 MB / 0.7709 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.5553, allocations: 104.2 kB / 0.771 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.5554, allocations: 35.97 kB / 0.771 GB, free: 12.92 MB / 0.5919 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.0004307/0.5558, allocations: 283.9 kB / 0.7713 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.556, allocations: 98.78 kB / 0.7714 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.5586, allocations: 1.23 MB / 0.7726 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.5587, allocations: 8 kB / 0.7726 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.5587, allocations: 0 / 0.7726 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.5587, allocations: 3.984 kB / 0.7726 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/0.5622, allocations: 2.275 MB / 0.7748 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5622, allocations: 0 / 0.7748 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.563, allocations: 187.8 kB / 0.775 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006091/0.5636, allocations: 109.6 kB / 0.7751 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.5637, allocations: 23.98 kB / 0.7751 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.5662, allocations: 2.883 MB / 0.7779 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5662, allocations: 0 / 0.7779 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.5684, allocations: 1.134 MB / 0.7791 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.5688, allocations: 307.6 kB / 0.7793 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.5689, allocations: 23.91 kB / 0.7794 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/0.5696, allocations: 71.86 kB / 0.7794 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.5698, allocations: 72.89 kB / 0.7795 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-05/0.5699, allocations: 35.92 kB / 0.7795 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007539/0.5706, allocations: 0.7294 MB / 0.7803 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5707, allocations: 0 / 0.7803 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001012/0.5717, allocations: 415.2 kB / 0.7806 GB, free: 2.656 MB / 0.5919 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.003835/0.5755, allocations: 2.281 MB / 0.7829 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001854/0.5774, allocations: 1.03 MB / 0.7839 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5774, allocations: 4.062 kB / 0.7839 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.5785, allocations: 0.6941 MB / 0.7846 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.5798, allocations: 319.3 kB / 0.7849 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.5937, allocations: 8.689 MB / 0.7934 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.5944, allocations: 1.083 MB / 0.7944 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001064/0.5954, allocations: 303.2 kB / 0.7947 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/0.596, allocations: 427.3 kB / 0.7951 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of SimCode: time 6.22e-07/0.596, allocations: 0 / 0.7951 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.167/1.763, allocations: 25.29 MB / 0.8198 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/1.763, allocations: 280.8 kB / 0.8201 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/4.316, allocations: 3.938 kB / 0.8201 GB, free: 10.45 MB / 0.6387 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)