Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) 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.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_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.01225/0.01225, allocations: 106.3 kB / 15.73 MB, free: 5.984 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.002144/0.002144, allocations: 194.8 kB / 16.67 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.312/2.312, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.262/1.262, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 60.94 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2469, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.9463/1.193, allocations: 153.8 MB / 0.8093 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02452/1.218, allocations: 10.4 MB / 0.8195 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/1.22, allocations: 20.5 kB / 0.8195 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001826/1.222, allocations: 257.1 kB / 0.8198 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006344/1.228, allocations: 0.899 MB / 0.8206 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005579/1.234, allocations: 1.038 MB / 0.8217 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003556/1.237, allocations: 1.51 MB / 0.8231 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003593/1.241, allocations: 1.136 MB / 0.8242 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003581/1.245, allocations: 0.6707 MB / 0.8249 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/1.246, allocations: 0.5468 MB / 0.8254 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005295/1.247, allocations: 120.8 kB / 0.8255 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00443/1.251, allocations: 1.024 MB / 0.8265 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007585/1.252, allocations: 356.2 kB / 0.8269 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00144/1.253, allocations: 0.6116 MB / 0.8275 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006124/1.26, allocations: 2.078 MB / 0.8295 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/1.26, allocations: 6.688 kB / 0.8295 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.314e-06/1.26, allocations: 0 / 0.8295 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.538e-05/1.26, allocations: 0 / 0.8295 GB, free: 1.961 MB / 0.5919 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.005817/1.266, allocations: 1.623 MB / 0.8311 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/1.266, allocations: 10.19 kB / 0.8311 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003716/1.266, allocations: 148.4 kB / 0.8312 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/1.269, allocations: 260.6 kB / 0.8315 GB, free: 472 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/1.272, allocations: 1.043 MB / 0.8325 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/1.272, allocations: 76.03 kB / 0.8326 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/1.272, allocations: 91.55 kB / 0.8327 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/1.276, allocations: 1.046 MB / 0.8337 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/1.276, allocations: 4 kB / 0.8337 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/1.276, allocations: 42.09 kB / 0.8337 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/1.276, allocations: 22.78 kB / 0.8338 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00391/1.28, allocations: 1.269 MB / 0.835 GB, free: 14.35 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.009887/1.29, allocations: 3.096 MB / 0.838 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003379/1.293, allocations: 1.023 MB / 0.839 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/1.295, allocations: 389.1 kB / 0.8394 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003957/1.295, allocations: 134.4 kB / 0.8395 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001794/1.297, allocations: 0.5441 MB / 0.8401 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 5.83e-06/1.297, allocations: 3 kB / 0.8401 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.007267/1.304, allocations: 1.507 MB / 0.8415 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/1.305, allocations: 197 kB / 0.8417 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/1.307, allocations: 0.9773 MB / 0.8427 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/1.307, allocations: 46.86 kB / 0.8427 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007302/1.308, allocations: 448 kB / 0.8431 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/1.309, allocations: 279.1 kB / 0.8434 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/1.309, allocations: 161.8 kB / 0.8436 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000214/1.309, allocations: 335.3 kB / 0.8439 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/1.31, allocations: 297.3 kB / 0.8442 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/1.312, allocations: 434.1 kB / 0.8446 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002467/1.314, allocations: 0.7116 MB / 0.8453 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.314, allocations: 4 kB / 0.8453 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004305/1.319, allocations: 0.9625 MB / 0.8462 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/1.319, allocations: 8 kB / 0.8462 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.319, allocations: 0 / 0.8462 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/1.32, allocations: 117.6 kB / 0.8463 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/1.322, allocations: 179.8 kB / 0.8465 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/1.327, allocations: 3.062 MB / 0.8495 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/1.329, allocations: 96.89 kB / 0.8496 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/1.329, allocations: 35.97 kB / 0.8496 GB, free: 2.523 MB / 0.6075 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.00104/1.33, allocations: 286.9 kB / 0.8499 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005674/1.331, allocations: 102.9 kB / 0.85 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004564/1.335, allocations: 1.216 MB / 0.8512 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.335, allocations: 11.94 kB / 0.8512 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.335, allocations: 0 / 0.8512 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/1.335, allocations: 11.98 kB / 0.8512 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006299/1.342, allocations: 2.26 MB / 0.8534 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.342, allocations: 0 / 0.8534 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.343, allocations: 187.8 kB / 0.8536 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007839/1.344, allocations: 101.6 kB / 0.8537 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.344, allocations: 23.98 kB / 0.8537 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004351/1.348, allocations: 3.1 MB / 0.8567 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.348, allocations: 0 / 0.8567 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/1.352, allocations: 1.139 MB / 0.8579 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000878/1.353, allocations: 299.6 kB / 0.8581 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003518/1.353, allocations: 23.94 kB / 0.8582 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/1.355, allocations: 77.7 kB / 0.8582 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/1.355, allocations: 64.91 kB / 0.8583 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.355, allocations: 39.97 kB / 0.8583 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00178/1.357, allocations: 0.7216 MB / 0.859 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.31e-07/1.357, allocations: 0 / 0.859 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002213/1.359, allocations: 423.1 kB / 0.8594 GB, free: 8.055 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.007925/1.367, allocations: 2.283 MB / 0.8617 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003588/1.371, allocations: 1.03 MB / 0.8627 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.371, allocations: 0 / 0.8627 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002362/1.373, allocations: 0.702 MB / 0.8634 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/1.376, allocations: 349.7 kB / 0.8637 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/1.402, allocations: 7.971 MB / 0.8715 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.403, allocations: 1.079 MB / 0.8725 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001924/1.405, allocations: 303.2 kB / 0.8728 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009974/1.406, allocations: 439.2 kB / 0.8732 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of SimCode: time 8.02e-07/1.406, allocations: 0 / 0.8732 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09358/1.499, allocations: 26.82 MB / 0.8994 GB, free: 15.34 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.34/24.84, allocations: 6.031 kB / 0.8994 GB, free: 15.34 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)