Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001046/0.001046, allocations: 198.1 kB / 16.14 MB, free: 6.688 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.23/1.23, 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.8555/0.8555, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 59.62 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1468, allocations: 80.92 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.3877/0.5345, allocations: 164.6 MB / 0.7445 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01997/0.5545, allocations: 17.16 MB / 0.7613 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.5558, allocations: 27.81 kB / 0.7613 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.5575, allocations: 453.2 kB / 0.7618 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.5616, allocations: 1.467 MB / 0.7632 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.565, allocations: 1.224 MB / 0.7644 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003034/0.568, allocations: 2.771 MB / 0.7671 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.5705, allocations: 1.818 MB / 0.7689 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/0.5751, allocations: 1.187 MB / 0.77 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.5765, allocations: 1.017 MB / 0.771 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003535/0.5768, allocations: 116 kB / 0.7711 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.5797, allocations: 1.567 MB / 0.7727 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006296/0.5803, allocations: 0.6736 MB / 0.7733 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.5815, allocations: 1.084 MB / 0.7744 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004004/0.5855, allocations: 3.442 MB / 0.7777 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5856, allocations: 4 kB / 0.7777 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.61e-07/0.5856, allocations: 0 / 0.7777 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.29e-05/0.5856, allocations: 0 / 0.7777 GB, free: 6.762 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.00397/0.5896, allocations: 2.773 MB / 0.7805 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.5896, allocations: 8.031 kB / 0.7805 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002509/0.5899, allocations: 240.5 kB / 0.7807 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.5934, allocations: 0.5629 MB / 0.7812 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/0.5968, allocations: 3.358 MB / 0.7845 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.055e-05/0.5969, allocations: 127.3 kB / 0.7846 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.597, allocations: 163.9 kB / 0.7848 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.6, allocations: 1.877 MB / 0.7866 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.6, allocations: 0 / 0.7866 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.6002, allocations: 68 kB / 0.7867 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.6002, allocations: 40 kB / 0.7867 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/0.6033, allocations: 2.042 MB / 0.7887 GB, free: 11.33 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.00775/0.6111, allocations: 6.073 MB / 0.7947 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.614, allocations: 2.011 MB / 0.7966 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.6151, allocations: 0.7335 MB / 0.7973 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005393/0.6157, allocations: 429.7 kB / 0.7978 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/0.6172, allocations: 0.933 MB / 0.7987 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.545e-06/0.6172, allocations: 0 / 0.7987 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006015/0.6232, allocations: 2.84 MB / 0.8014 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/0.6233, allocations: 193.2 kB / 0.8016 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003889/0.6272, allocations: 4.011 MB / 0.8055 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.6274, allocations: 57.7 kB / 0.8056 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006423/0.628, allocations: 0.8628 MB / 0.8064 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.6284, allocations: 465.2 kB / 0.8069 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.6287, allocations: 226.8 kB / 0.8071 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6288, allocations: 353.9 kB / 0.8074 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009244/0.6298, allocations: 0.5413 MB / 0.808 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.6309, allocations: 0.7579 MB / 0.8087 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.6329, allocations: 1.247 MB / 0.8099 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6329, allocations: 0 / 0.8099 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003339/0.6363, allocations: 1.694 MB / 0.8116 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.6363, allocations: 4 kB / 0.8116 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.6363, allocations: 3.938 kB / 0.8116 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.6373, allocations: 212.2 kB / 0.8118 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.6387, allocations: 311.5 kB / 0.8121 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05172/0.6905, allocations: 6.795 MB / 0.8187 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.6923, allocations: 166.9 kB / 0.8189 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/0.6925, allocations: 43.97 kB / 0.8189 GB, free: 11 MB / 0.6387 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.001071/0.6936, allocations: 477.4 kB / 0.8194 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005619/0.6942, allocations: 181.8 kB / 0.8195 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/0.6989, allocations: 2.039 MB / 0.8215 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.6989, allocations: 19.94 kB / 0.8216 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.6989, allocations: 4.031 kB / 0.8216 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.699, allocations: 11.95 kB / 0.8216 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008167/0.7071, allocations: 3.913 MB / 0.8254 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.7072, allocations: 0 / 0.8254 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.7086, allocations: 311.6 kB / 0.8257 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009659/0.7096, allocations: 220 kB / 0.8259 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.7098, allocations: 39.97 kB / 0.8259 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005523/0.7153, allocations: 6.824 MB / 0.8326 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.7153, allocations: 12.11 kB / 0.8326 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003932/0.7193, allocations: 1.897 MB / 0.8345 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009445/0.7202, allocations: 0.4904 MB / 0.8349 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/0.7206, allocations: 27.98 kB / 0.835 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.722, allocations: 114.2 kB / 0.8351 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.7222, allocations: 113.1 kB / 0.8352 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/0.7224, allocations: 63.95 kB / 0.8352 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003131/0.7255, allocations: 3.084 MB / 0.8383 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7255, allocations: 3.938 kB / 0.8383 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00179/0.7273, allocations: 0.6469 MB / 0.8389 GB, free: 5.695 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 (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.005409/0.7327, allocations: 3.096 MB / 0.8419 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003065/0.7358, allocations: 1.954 MB / 0.8438 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7358, allocations: 12.8 kB / 0.8438 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.7378, allocations: 1.375 MB / 0.8452 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.7399, allocations: 497.5 kB / 0.8457 GB, free: 14.82 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.236/0.976, allocations: 22.58 MB / 0.8677 GB, free: 214.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.9767, allocations: 1.507 MB / 0.8692 GB, free: 213.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001678/0.9784, allocations: 0.5095 MB / 0.8697 GB, free: 213.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/0.9793, allocations: 0.8477 MB / 0.8705 GB, free: 213 MB / 0.67 GB Notification: Performance of SimCode: time 4.61e-07/0.9793, allocations: 0 / 0.8705 GB, free: 213 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9797/1.959, allocations: 44.92 MB / 0.9144 GB, free: 203.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/1.959, allocations: 276.4 kB / 0.9146 GB, free: 202.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/4.9, allocations: 0 / 0.9146 GB, free: 202.8 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)