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.00673/0.00673, allocations: 99.16 kB / 15.73 MB, free: 6.492 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.001441/0.001441, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7965/0.7965, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 67.23 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1605, allocations: 80.21 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1804/0.3409, allocations: 153.8 MB / 0.8094 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3778/0.7187, allocations: 10.36 MB / 0.8195 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009179/0.7197, allocations: 23.88 kB / 0.8195 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008179/0.7205, allocations: 260.1 kB / 0.8198 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.7234, allocations: 0.9014 MB / 0.8206 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.7263, allocations: 1.042 MB / 0.8216 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002167/0.7284, allocations: 1.512 MB / 0.8231 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.7299, allocations: 1.142 MB / 0.8242 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.7318, allocations: 0.6584 MB / 0.8249 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007722/0.7326, allocations: 0.5581 MB / 0.8254 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.7328, allocations: 121.6 kB / 0.8255 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.735, allocations: 1.015 MB / 0.8265 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.7353, allocations: 358 kB / 0.8269 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006365/0.736, allocations: 0.6071 MB / 0.8275 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/0.7391, allocations: 2.084 MB / 0.8295 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7391, allocations: 1.812 kB / 0.8295 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7391, allocations: 1.156 kB / 0.8295 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.7391, allocations: 3.641 kB / 0.8295 GB, free: 2.488 MB / 0.6387 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.002583/0.7417, allocations: 1.672 MB / 0.8311 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.7418, allocations: 11.19 kB / 0.8312 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.7419, allocations: 143.5 kB / 0.8313 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.7435, allocations: 275.5 kB / 0.8316 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.7447, allocations: 1.046 MB / 0.8326 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/0.7448, allocations: 67.94 kB / 0.8326 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.7449, allocations: 92.09 kB / 0.8327 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.7466, allocations: 1.046 MB / 0.8338 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.7466, allocations: 1.094 kB / 0.8338 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/0.7467, allocations: 44.59 kB / 0.8338 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.7467, allocations: 23.38 kB / 0.8338 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.7487, allocations: 1.269 MB / 0.8351 GB, free: 0.9805 MB / 0.6387 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.004066/0.7528, allocations: 3.112 MB / 0.8381 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.7543, allocations: 1.011 MB / 0.8391 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006134/0.755, allocations: 394.6 kB / 0.8395 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000244/0.7552, allocations: 141.6 kB / 0.8396 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008727/0.7561, allocations: 0.5448 MB / 0.8401 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=86): time 2.445e-06/0.7561, allocations: 0 / 0.8401 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86): time 0.003744/0.7599, allocations: 1.515 MB / 0.8416 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.76, allocations: 189.5 kB / 0.8418 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.761, allocations: 0.9747 MB / 0.8427 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.659e-05/0.7611, allocations: 50.84 kB / 0.8428 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.7614, allocations: 448.7 kB / 0.8432 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.7617, allocations: 307.2 kB / 0.8435 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.7619, allocations: 154.6 kB / 0.8437 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.762, allocations: 332.2 kB / 0.844 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.7626, allocations: 303 kB / 0.8443 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006964/0.7633, allocations: 439.9 kB / 0.8447 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.7645, allocations: 0.707 MB / 0.8454 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.7645, allocations: 0 / 0.8454 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002054/0.7666, allocations: 0.9615 MB / 0.8463 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.7666, allocations: 6.688 kB / 0.8463 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7666, allocations: 5.875 kB / 0.8463 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007116/0.7674, allocations: 118.3 kB / 0.8464 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.7681, allocations: 185.2 kB / 0.8466 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.7712, allocations: 3.065 MB / 0.8496 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.772, allocations: 99.61 kB / 0.8497 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.7721, allocations: 34.09 kB / 0.8497 GB, free: 11.19 MB / 0.6544 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.0004583/0.7725, allocations: 292.4 kB / 0.85 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.7727, allocations: 99.8 kB / 0.8501 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.7752, allocations: 1.221 MB / 0.8513 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.7752, allocations: 10.12 kB / 0.8513 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.7752, allocations: 0.7812 kB / 0.8513 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.7752, allocations: 5.719 kB / 0.8513 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/0.7786, allocations: 2.261 MB / 0.8535 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.7786, allocations: 0 / 0.8535 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/0.7793, allocations: 190.1 kB / 0.8537 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/0.7799, allocations: 101.7 kB / 0.8538 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.7799, allocations: 24.52 kB / 0.8538 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/0.7829, allocations: 3.1 MB / 0.8569 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7829, allocations: 0 / 0.8569 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.7852, allocations: 1.148 MB / 0.858 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.7857, allocations: 309.8 kB / 0.8583 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.7858, allocations: 18.53 kB / 0.8583 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/0.7865, allocations: 70.7 kB / 0.8584 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.7867, allocations: 72.62 kB / 0.8584 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.301e-05/0.7868, allocations: 36.69 kB / 0.8585 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008216/0.7876, allocations: 0.7212 MB / 0.8592 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7876, allocations: 1.859 kB / 0.8592 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001544/0.7892, allocations: 424.2 kB / 0.8596 GB, free: 7.207 MB / 0.6544 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.004949/0.7941, allocations: 2.302 MB / 0.8618 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001976/0.7961, allocations: 1.028 MB / 0.8628 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7962, allocations: 2.688 kB / 0.8628 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.7972, allocations: 0.6937 MB / 0.8635 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.7987, allocations: 342.4 kB / 0.8638 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.8112, allocations: 8.006 MB / 0.8716 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.8119, allocations: 1.076 MB / 0.8727 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009528/0.8129, allocations: 304.8 kB / 0.873 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005996/0.8135, allocations: 433 kB / 0.8734 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of SimCode: time 8.52e-07/0.8135, allocations: 0 / 0.8734 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06401/0.8775, allocations: 26.39 MB / 0.8992 GB, free: 1.055 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.75, allocations: 12.05 kB / 0.8992 GB, free: 1.043 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)