Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008817/0.0008817, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9023/0.9023, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7495/0.7495, allocations: 154.5 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.845e-05, allocations: 2.938 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4124/0.4124, allocations: 153 MB / 0.7674 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.4146, allocations: 1.764 MB / 0.7691 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.4149, allocations: 20.66 kB / 0.7692 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.4154, allocations: 222.3 kB / 0.7694 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.4169, allocations: 0.7815 MB / 0.7701 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.4183, allocations: 0.9199 MB / 0.771 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008112/0.4191, allocations: 0.8474 MB / 0.7719 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.4195, allocations: 241.7 kB / 0.7721 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.4206, allocations: 0.7049 MB / 0.7728 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.4208, allocations: 235.1 kB / 0.773 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.4209, allocations: 26.41 kB / 0.773 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.422, allocations: 0.9068 MB / 0.7739 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4221, allocations: 130.9 kB / 0.774 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.4223, allocations: 142.6 kB / 0.7742 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.4233, allocations: 0.9187 MB / 0.7751 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4233, allocations: 3.938 kB / 0.7751 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4233, allocations: 3.938 kB / 0.7751 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4233, allocations: 1.375 kB / 0.7751 GB, free: 0.7812 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001182/0.4245, allocations: 0.7109 MB / 0.7758 GB, free: 284 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4246, allocations: 10.84 kB / 0.7758 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.4246, allocations: 62.86 kB / 0.7758 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000571/0.4252, allocations: 163.3 kB / 0.776 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.4257, allocations: 304.5 kB / 0.7763 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.4257, allocations: 20.16 kB / 0.7763 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.4257, allocations: 26.78 kB / 0.7763 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.4263, allocations: 400.1 kB / 0.7767 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4263, allocations: 0 / 0.7767 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.4263, allocations: 10.5 kB / 0.7767 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.4263, allocations: 19.69 kB / 0.7767 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.4268, allocations: 339.2 kB / 0.7771 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.4281, allocations: 1.302 MB / 0.7783 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.4285, allocations: 225.8 kB / 0.7786 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.4286, allocations: 130.6 kB / 0.7787 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.4289, allocations: 73.67 kB / 0.7787 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.4289, allocations: 44.25 kB / 0.7788 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.4289, allocations: 4 kB / 0.7788 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0006428/0.4295, allocations: 379.5 kB / 0.7792 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.4296, allocations: 53.66 kB / 0.7792 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.4299, allocations: 362.6 kB / 0.7796 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.4299, allocations: 31.3 kB / 0.7796 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.43, allocations: 192 kB / 0.7798 GB, free: 14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.4301, allocations: 79.47 kB / 0.7798 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.4301, allocations: 49.11 kB / 0.7799 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4302, allocations: 340.5 kB / 0.7802 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.4304, allocations: 99.16 kB / 0.7803 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.4306, allocations: 242.6 kB / 0.7805 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.4309, allocations: 251.9 kB / 0.7808 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4309, allocations: 1.125 kB / 0.7808 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003924/0.4313, allocations: 312.5 kB / 0.7811 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4313, allocations: 5.875 kB / 0.7811 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4313, allocations: 5.438 kB / 0.7811 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4313, allocations: 3.281 kB / 0.7811 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.4315, allocations: 45.23 kB / 0.7811 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4315, allocations: 6.312 kB / 0.7811 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.4316, allocations: 35.55 kB / 0.7812 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.4316, allocations: 14 kB / 0.7812 GB, free: 13.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.4318, allocations: 154.2 kB / 0.7813 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.4318, allocations: 40.77 kB / 0.7814 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.4322, allocations: 304.3 kB / 0.7817 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4322, allocations: 2.562 kB / 0.7817 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4322, allocations: 3.125 kB / 0.7817 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4322, allocations: 4.938 kB / 0.7817 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.4331, allocations: 0.8233 MB / 0.7825 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4331, allocations: 5.594 kB / 0.7825 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.4332, allocations: 44.33 kB / 0.7825 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4332, allocations: 2.844 kB / 0.7825 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.4332, allocations: 15.91 kB / 0.7825 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4333, allocations: 2.719 kB / 0.7825 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4333, allocations: 8.875 kB / 0.7826 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.4337, allocations: 447.5 kB / 0.783 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.4337, allocations: 59.77 kB / 0.783 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.4338, allocations: 12.62 kB / 0.7831 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.4339, allocations: 9.625 kB / 0.7831 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.4339, allocations: 19.34 kB / 0.7831 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.4339, allocations: 10.67 kB / 0.7831 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002024/0.4341, allocations: 270.2 kB / 0.7833 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4341, allocations: 0 / 0.7833 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003227/0.4345, allocations: 97.77 kB / 0.7834 GB, free: 11.73 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007955/0.4353, allocations: 1.024 MB / 0.7844 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.4356, allocations: 235 kB / 0.7847 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4356, allocations: 1.219 kB / 0.7847 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.4358, allocations: 126.1 kB / 0.7848 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.4365, allocations: 216.5 kB / 0.785 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.4398, allocations: 3.309 MB / 0.7882 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.44, allocations: 196 kB / 0.7884 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002661/0.4402, allocations: 86.97 kB / 0.7885 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.4404, allocations: 117.4 kB / 0.7886 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of SimCode: time 6.81e-07/0.4404, allocations: 0 / 0.7886 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.464, allocations: 12.24 MB / 0.8006 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.211/7.675, allocations: 3.125 kB / 0.8006 GB, free: 3.895 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.42909864988178] Failed to read output from testmodel.py, exit status != 0: 7.76043869368732 7.769120858 7.343885708 Calling exit ...