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.01095/0.01095, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.002169/0.002169, allocations: 196.1 kB / 16.68 MB, free: 5.957 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7685/0.7685, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 70.89 kB / 0.5851 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1545, 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.58/0.7346, allocations: 153.8 MB / 0.8143 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.7477, allocations: 10.41 MB / 0.8245 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.7488, allocations: 20.75 kB / 0.8245 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.7499, allocations: 256.1 kB / 0.8247 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00295/0.7529, allocations: 0.8928 MB / 0.8256 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.7558, allocations: 1.035 MB / 0.8266 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.7579, allocations: 1.518 MB / 0.8281 GB, free: 460 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.7594, allocations: 1.135 MB / 0.8292 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.7612, allocations: 0.6636 MB / 0.8299 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.7619, allocations: 0.558 MB / 0.8304 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.7621, allocations: 122.6 kB / 0.8305 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.7641, allocations: 1.014 MB / 0.8315 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.7644, allocations: 356.3 kB / 0.8319 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000563/0.765, allocations: 0.6034 MB / 0.8324 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.7676, allocations: 2.084 MB / 0.8345 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7676, allocations: 0 / 0.8345 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7676, allocations: 0 / 0.8345 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.7676, allocations: 0 / 0.8345 GB, free: 12.27 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.002769/0.7704, allocations: 1.628 MB / 0.8361 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.7704, allocations: 11.17 kB / 0.8361 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.7706, allocations: 148.2 kB / 0.8362 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.7722, allocations: 265.1 kB / 0.8365 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.7737, allocations: 1.044 MB / 0.8375 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.7738, allocations: 72.03 kB / 0.8376 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.7739, allocations: 88.09 kB / 0.8376 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.7757, allocations: 1.042 MB / 0.8387 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.7757, allocations: 7.938 kB / 0.8387 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.831e-05/0.7758, allocations: 42.78 kB / 0.8387 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.7758, allocations: 22.22 kB / 0.8387 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.7779, allocations: 1.263 MB / 0.84 GB, free: 8.66 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.004737/0.7826, allocations: 3.113 MB / 0.843 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.7844, allocations: 1.015 MB / 0.844 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.7851, allocations: 389.2 kB / 0.8444 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.7853, allocations: 134.6 kB / 0.8445 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.7864, allocations: 0.5499 MB / 0.845 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 2.304e-06/0.7864, allocations: 0 / 0.845 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.003743/0.7901, allocations: 1.507 MB / 0.8465 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.7902, allocations: 191.1 kB / 0.8467 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.7914, allocations: 0.9788 MB / 0.8476 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.7915, allocations: 45.7 kB / 0.8477 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.7919, allocations: 448.3 kB / 0.8481 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.7921, allocations: 283.8 kB / 0.8484 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.7923, allocations: 154.5 kB / 0.8485 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.7925, allocations: 341.9 kB / 0.8489 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.7931, allocations: 301.8 kB / 0.8491 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/0.7938, allocations: 437 kB / 0.8496 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.7951, allocations: 0.714 MB / 0.8503 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.7952, allocations: 4 kB / 0.8503 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002216/0.7974, allocations: 0.951 MB / 0.8512 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.7974, allocations: 11.98 kB / 0.8512 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.7974, allocations: 0 / 0.8512 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00073/0.7982, allocations: 117.7 kB / 0.8513 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/0.799, allocations: 175.8 kB / 0.8515 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.8022, allocations: 3.061 MB / 0.8545 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/0.8031, allocations: 95.22 kB / 0.8546 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.621e-05/0.8032, allocations: 32.05 kB / 0.8546 GB, free: 11.75 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.0004815/0.8037, allocations: 293.6 kB / 0.8549 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.8038, allocations: 102.8 kB / 0.855 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.8065, allocations: 1.216 MB / 0.8562 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.8065, allocations: 11.94 kB / 0.8562 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8065, allocations: 4 kB / 0.8562 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.8066, allocations: 7.922 kB / 0.8562 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/0.8103, allocations: 2.26 MB / 0.8584 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8103, allocations: 0 / 0.8584 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007421/0.811, allocations: 179.8 kB / 0.8586 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005428/0.8116, allocations: 109.6 kB / 0.8587 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.8117, allocations: 31.95 kB / 0.8587 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002727/0.8144, allocations: 3.109 MB / 0.8617 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8144, allocations: 0 / 0.8617 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.8167, allocations: 1.135 MB / 0.8628 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004504/0.8172, allocations: 299.6 kB / 0.8631 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.8173, allocations: 19.94 kB / 0.8631 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/0.818, allocations: 71.92 kB / 0.8632 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.8182, allocations: 68.89 kB / 0.8633 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/0.8183, allocations: 35.98 kB / 0.8633 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008204/0.8191, allocations: 0.7216 MB / 0.864 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8191, allocations: 4 kB / 0.864 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001304/0.8204, allocations: 415.2 kB / 0.8644 GB, free: 1.277 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.004525/0.825, allocations: 2.292 MB / 0.8667 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.8271, allocations: 1.037 MB / 0.8677 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8271, allocations: 4.062 kB / 0.8677 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.8283, allocations: 0.6903 MB / 0.8683 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.8298, allocations: 346.4 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.0135/0.8433, allocations: 7.965 MB / 0.8765 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006725/0.844, allocations: 1.079 MB / 0.8775 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009861/0.845, allocations: 299.3 kB / 0.8778 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/0.8456, allocations: 431.2 kB / 0.8782 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of SimCode: time 1.072e-06/0.8456, allocations: 3.938 kB / 0.8782 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08566/0.9313, allocations: 26.84 MB / 0.9044 GB, free: 8.555 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14.14, allocations: 14.3 kB / 0.9044 GB, free: 8.543 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)