Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.0009399/0.0009399, 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.0008811/0.0008811, 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.8771/0.8771, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7362/0.7362, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.33e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4424/0.4424, allocations: 165.3 MB / 0.7796 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01391/0.4564, allocations: 11.95 MB / 0.7912 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.4577, allocations: 39.5 kB / 0.7913 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.4591, allocations: 427.8 kB / 0.7917 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.4616, allocations: 0.9791 MB / 0.7926 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.4634, allocations: 0.7816 MB / 0.7934 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002253/0.4656, allocations: 1.515 MB / 0.7949 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009215/0.4666, allocations: 0.4961 MB / 0.7954 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004115/0.4707, allocations: 2.056 MB / 0.7974 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.4721, allocations: 455 kB / 0.7978 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.4722, allocations: 54.03 kB / 0.7979 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.4735, allocations: 0.7245 MB / 0.7986 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.4738, allocations: 298.4 kB / 0.7989 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.4741, allocations: 259.2 kB / 0.7991 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.4757, allocations: 1.192 MB / 0.8003 GB, free: 292 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4757, allocations: 0 / 0.8003 GB, free: 292 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4757, allocations: 0 / 0.8003 GB, free: 292 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.4757, allocations: 0 / 0.8003 GB, free: 292 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001204/0.4769, allocations: 0.988 MB / 0.8012 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4769, allocations: 14.61 kB / 0.8013 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.232e-05/0.477, allocations: 106.3 kB / 0.8014 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006528/0.4777, allocations: 195 kB / 0.8015 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006964/0.4784, allocations: 497 kB / 0.802 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.4784, allocations: 50.47 kB / 0.8021 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.4784, allocations: 54.97 kB / 0.8021 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000803/0.4792, allocations: 0.7966 MB / 0.8029 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.4793, allocations: 6.125 kB / 0.8029 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.4793, allocations: 28.28 kB / 0.8029 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.4793, allocations: 22.19 kB / 0.8029 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.4799, allocations: 462.3 kB / 0.8034 GB, free: 14.36 MB / 0.6667 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.003214/0.4831, allocations: 3.998 MB / 0.8073 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.4833, allocations: 107.3 kB / 0.8074 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.522e-05/0.4833, allocations: 70.27 kB / 0.8075 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.4835, allocations: 21.42 kB / 0.8075 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.4835, allocations: 39.62 kB / 0.8075 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 3.867e-06/0.4835, allocations: 0 / 0.8075 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0005112/0.484, allocations: 241 kB / 0.8077 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.4841, allocations: 139.4 kB / 0.8079 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/0.4848, allocations: 0.851 MB / 0.8087 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.4849, allocations: 32.58 kB / 0.8087 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.4851, allocations: 412.4 kB / 0.8091 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.4851, allocations: 48.17 kB / 0.8092 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.4852, allocations: 91.88 kB / 0.8093 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.4853, allocations: 323.4 kB / 0.8096 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.4855, allocations: 115.3 kB / 0.8097 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.4859, allocations: 0.4999 MB / 0.8102 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.4863, allocations: 444.1 kB / 0.8106 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.4863, allocations: 0 / 0.8106 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006643/0.487, allocations: 0.4979 MB / 0.8111 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.487, allocations: 7.156 kB / 0.8111 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.487, allocations: 8.438 kB / 0.8111 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.487, allocations: 18.97 kB / 0.8111 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.4872, allocations: 91.3 kB / 0.8112 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.4872, allocations: 18.58 kB / 0.8112 GB, free: 7.566 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.4877, allocations: 114.2 kB / 0.8113 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.4877, allocations: 25.84 kB / 0.8114 GB, free: 7.496 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002283/0.4879, allocations: 232.8 kB / 0.8116 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.488, allocations: 80.48 kB / 0.8117 GB, free: 7.266 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.4881, allocations: 72.89 kB / 0.8117 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4881, allocations: 2.781 kB / 0.8117 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4881, allocations: 0 / 0.8117 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4881, allocations: 2.906 kB / 0.8117 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/0.489, allocations: 1.042 MB / 0.8127 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.489, allocations: 0 / 0.8127 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.4891, allocations: 20.12 kB / 0.8128 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.4891, allocations: 10.11 kB / 0.8128 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.4891, allocations: 3 kB / 0.8128 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.4891, allocations: 5.562 kB / 0.8128 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4891, allocations: 4 kB / 0.8128 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.4893, allocations: 265.4 kB / 0.813 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.4894, allocations: 101.8 kB / 0.8131 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.4895, allocations: 5.875 kB / 0.8131 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.4896, allocations: 14.64 kB / 0.8132 GB, free: 6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.4897, allocations: 13.02 kB / 0.8132 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4897, allocations: 2.906 kB / 0.8132 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005084/0.4902, allocations: 0.5922 MB / 0.8138 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4902, allocations: 2.812 kB / 0.8138 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004249/0.4906, allocations: 154.1 kB / 0.8139 GB, free: 5.641 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0006647/0.4913, allocations: 0.8799 MB / 0.8148 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003632/0.4916, allocations: 247.3 kB / 0.815 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4916, allocations: 2.688 kB / 0.815 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.4917, allocations: 39.73 kB / 0.815 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009363/0.4926, allocations: 381 kB / 0.8154 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005539/0.4982, allocations: 5.445 MB / 0.8207 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.4984, allocations: 345.6 kB / 0.821 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004833/0.4989, allocations: 145.5 kB / 0.8212 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.4991, allocations: 238.4 kB / 0.8214 GB, free: 388 kB / 0.6667 GB Notification: Performance of SimCode: time 1.583e-06/0.4991, allocations: 0 / 0.8214 GB, free: 388 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/0.5348, allocations: 20.1 MB / 0.841 GB, free: 14.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.364/7.899, allocations: 7.109 kB / 0.8411 GB, free: 14.82 MB / 0.698 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.611884371377528] Failed to read output from testmodel.py, exit status != 0: 7.990103369578719 7.999756066 7.52191632 Calling exit ...