Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",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.00517/0.00517, allocations: 99.92 kB / 15.73 MB, free: 6.02 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.001214/0.001214, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.344/1.344, 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 0.8084/0.8084, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 68.52 kB / 0.5809 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.158, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5243/0.6823, allocations: 166.9 MB / 0.8222 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02078/0.7031, allocations: 17.09 MB / 0.8389 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.7045, allocations: 33.66 kB / 0.8389 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.706, allocations: 0.5221 MB / 0.8394 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.7104, allocations: 1.646 MB / 0.841 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.7137, allocations: 1.39 MB / 0.8424 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002913/0.7166, allocations: 2.525 MB / 0.8449 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.719, allocations: 1.951 MB / 0.8468 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003972/0.723, allocations: 1.342 MB / 0.8481 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.7246, allocations: 1.021 MB / 0.8491 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002813/0.7248, allocations: 208.5 kB / 0.8493 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.7278, allocations: 1.545 MB / 0.8508 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006668/0.7285, allocations: 0.774 MB / 0.8515 GB, free: 292 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.7296, allocations: 1.177 MB / 0.8527 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004632/0.7343, allocations: 3.555 MB / 0.8562 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7343, allocations: 0 / 0.8562 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.644e-06/0.7343, allocations: 0 / 0.8562 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.623e-05/0.7344, allocations: 0 / 0.8562 GB, free: 12.5 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004583/0.739, allocations: 2.849 MB / 0.8589 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.739, allocations: 8.031 kB / 0.8589 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000275/0.7393, allocations: 244.5 kB / 0.8592 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.7428, allocations: 0.5799 MB / 0.8597 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003928/0.7468, allocations: 3.402 MB / 0.8631 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.7469, allocations: 127.3 kB / 0.8632 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.7471, allocations: 163.9 kB / 0.8633 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/0.7503, allocations: 1.877 MB / 0.8652 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.7504, allocations: 3.938 kB / 0.8652 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.7505, allocations: 72 kB / 0.8653 GB, free: 3 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.7506, allocations: 47.97 kB / 0.8653 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/0.7541, allocations: 2.034 MB / 0.8673 GB, free: 0.9141 MB / 0.6231 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.00892/0.763, allocations: 6.04 MB / 0.8732 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.7663, allocations: 1.992 MB / 0.8751 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.7676, allocations: 0.7374 MB / 0.8759 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006659/0.7682, allocations: 429.7 kB / 0.8763 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/0.7699, allocations: 0.9309 MB / 0.8772 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.755e-06/0.77, allocations: 0 / 0.8772 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006723/0.7767, allocations: 2.849 MB / 0.88 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.7768, allocations: 201.2 kB / 0.8801 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004641/0.7815, allocations: 4.007 MB / 0.8841 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.7817, allocations: 57.7 kB / 0.8841 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008226/0.7825, allocations: 0.8797 MB / 0.885 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/0.783, allocations: 483.8 kB / 0.8854 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000378/0.7834, allocations: 222.8 kB / 0.8856 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.7836, allocations: 353.9 kB / 0.886 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.7846, allocations: 0.5374 MB / 0.8865 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.7859, allocations: 0.7578 MB / 0.8872 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/0.7882, allocations: 1.259 MB / 0.8885 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7883, allocations: 0 / 0.8885 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003915/0.7922, allocations: 1.695 MB / 0.8901 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.7922, allocations: 12.03 kB / 0.8901 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.7922, allocations: 4 kB / 0.8901 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.7933, allocations: 208.1 kB / 0.8903 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.7947, allocations: 307.6 kB / 0.8906 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/0.8012, allocations: 7.322 MB / 0.8978 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.8027, allocations: 163.3 kB / 0.8979 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.8028, allocations: 43.97 kB / 0.898 GB, free: 24 kB / 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009567/0.8038, allocations: 472.9 kB / 0.8984 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/0.8042, allocations: 194.7 kB / 0.8986 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004367/0.8085, allocations: 2.032 MB / 0.9006 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.8086, allocations: 16 kB / 0.9006 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8086, allocations: 4 kB / 0.9006 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.8086, allocations: 11.91 kB / 0.9006 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006873/0.8155, allocations: 3.928 MB / 0.9045 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.8155, allocations: 0 / 0.9045 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.8169, allocations: 307.5 kB / 0.9048 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008991/0.8178, allocations: 208.1 kB / 0.905 GB, free: 8.742 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.621e-05/0.8179, allocations: 35.97 kB / 0.905 GB, free: 8.707 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006334/0.8243, allocations: 7.352 MB / 0.9122 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.8243, allocations: 3.938 kB / 0.9122 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/0.8287, allocations: 1.916 MB / 0.9141 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000839/0.8296, allocations: 0.5031 MB / 0.9145 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.8298, allocations: 31.98 kB / 0.9146 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.831, allocations: 101.1 kB / 0.9147 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/0.8312, allocations: 101.2 kB / 0.9148 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.8314, allocations: 67.95 kB / 0.9148 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003346/0.8347, allocations: 3.084 MB / 0.9178 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.024e-06/0.8347, allocations: 0 / 0.9178 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001692/0.8364, allocations: 0.6469 MB / 0.9185 GB, free: 10.15 MB / 0.6856 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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.00614/0.8426, allocations: 3.107 MB / 0.9215 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003319/0.8459, allocations: 1.965 MB / 0.9234 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.8459, allocations: 4.797 kB / 0.9234 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002029/0.848, allocations: 1.375 MB / 0.9248 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.8504, allocations: 0.5337 MB / 0.9253 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0301/0.8805, allocations: 20.46 MB / 0.9453 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.8818, allocations: 1.5 MB / 0.9467 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001719/0.8835, allocations: 0.5127 MB / 0.9472 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.8847, allocations: 0.8467 MB / 0.9481 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/0.8847, allocations: 4 kB / 0.9481 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/1.038, allocations: 46.62 MB / 0.9936 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.46, allocations: 9.109 kB / 0.9936 GB, free: 13.35 MB / 0.7637 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)