Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",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.00185/0.00185, allocations: 107 kB / 16.4 MB, free: 6.461 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.002101/0.002101, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.143/2.143, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.281/1.281, allocations: 115.3 MB / 406.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002619, allocations: 61.08 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2772, allocations: 76.18 MB / 0.6316 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.005693/0.283, allocations: 1.49 MB / 0.633 GB, free: 3.359 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.2853, allocations: 0.6435 MB / 0.6337 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.2854, allocations: 4 kB / 0.6337 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.113e-05/0.2856, allocations: 7.922 kB / 0.6337 GB, free: 2.695 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.409e-05/0.2857, allocations: 3.938 kB / 0.6337 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.2865, allocations: 79.72 kB / 0.6338 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.2866, allocations: 35.86 kB / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.2868, allocations: 19.98 kB / 0.6338 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.2869, allocations: 11.94 kB / 0.6338 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.675e-05/0.2871, allocations: 23.91 kB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.2871, allocations: 0 / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.2875, allocations: 99.91 kB / 0.6339 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.2875, allocations: 7.922 kB / 0.634 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.2876, allocations: 19.92 kB / 0.634 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.2879, allocations: 90.58 kB / 0.6341 GB, free: 2.312 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2879, allocations: 4 kB / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.288, allocations: 0 / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.288, allocations: 0 / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007866/0.2888, allocations: 364.2 kB / 0.6344 GB, free: 1.906 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.2888, allocations: 8.031 kB / 0.6344 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.981e-05/0.2889, allocations: 34.75 kB / 0.6345 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.289, allocations: 4.938 kB / 0.6345 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.2891, allocations: 172.2 kB / 0.6346 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2892, allocations: 384 / 0.6346 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.2892, allocations: 8.375 kB / 0.6346 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.2894, allocations: 61.78 kB / 0.6347 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2895, allocations: 0 / 0.6347 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2895, allocations: 0 / 0.6347 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.2895, allocations: 0 / 0.6347 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.2897, allocations: 27.98 kB / 0.6347 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.2902, allocations: 292.5 kB / 0.635 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.2904, allocations: 34.56 kB / 0.635 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/0.2905, allocations: 16.91 kB / 0.635 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007102/0.2912, allocations: 0.5505 MB / 0.6356 GB, free: 476 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.2913, allocations: 38.56 kB / 0.6356 GB, free: 428 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.2913, allocations: 4 kB / 0.6356 GB, free: 424 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004039/0.2917, allocations: 61.61 kB / 0.6357 GB, free: 356 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.2917, allocations: 51.41 kB / 0.6357 GB, free: 292 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.2919, allocations: 125.8 kB / 0.6359 GB, free: 156 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.292, allocations: 33.7 kB / 0.6359 GB, free: 116 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.292, allocations: 91.98 kB / 0.636 GB, free: 20 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.2921, allocations: 0 / 0.636 GB, free: 20 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.2922, allocations: 17.84 kB / 0.636 GB, free: 16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.2924, allocations: 322.8 kB / 0.6363 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.2925, allocations: 8 kB / 0.6363 GB, free: 15.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.2925, allocations: 11.98 kB / 0.6363 GB, free: 15.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.2927, allocations: 28.78 kB / 0.6363 GB, free: 15.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2927, allocations: 4 kB / 0.6363 GB, free: 15.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002182/0.2929, allocations: 57.66 kB / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.293, allocations: 4 kB / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.293, allocations: 4 kB / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.293, allocations: 0 / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2932, allocations: 11.98 kB / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2932, allocations: 0 / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/0.2932, allocations: 0 / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.2933, allocations: 3.938 kB / 0.6364 GB, free: 15.53 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001373/0.2934, allocations: 113.8 kB / 0.6365 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.2935, allocations: 11.94 kB / 0.6365 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.2937, allocations: 65.14 kB / 0.6366 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2938, allocations: 3.984 kB / 0.6366 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2938, allocations: 0 / 0.6366 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2938, allocations: 0 / 0.6366 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.2941, allocations: 169.6 kB / 0.6368 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2941, allocations: 3.938 kB / 0.6368 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.2942, allocations: 8 kB / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2942, allocations: 0 / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2942, allocations: 8.031 kB / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2942, allocations: 0 / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2943, allocations: 0 / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.2945, allocations: 151.4 kB / 0.6369 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.2946, allocations: 85.02 kB / 0.637 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.2946, allocations: 0 / 0.637 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.2948, allocations: 8.031 kB / 0.637 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2948, allocations: 7.984 kB / 0.637 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2948, allocations: 0 / 0.637 GB, free: 14.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.691e-05/0.2949, allocations: 103.6 kB / 0.6371 GB, free: 14.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.295, allocations: 0 / 0.6371 GB, free: 14.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.2954, allocations: 12 kB / 0.6371 GB, free: 14.69 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0007164/0.2961, allocations: 0.6929 MB / 0.6378 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.2964, allocations: 23.92 kB / 0.6378 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2964, allocations: 3.938 kB / 0.6378 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.2965, allocations: 15.98 kB / 0.6379 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.2969, allocations: 4 kB / 0.6379 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.299, allocations: 1.301 MB / 0.6391 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.2994, allocations: 0.6807 MB / 0.6398 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.711e-05/0.2995, allocations: 12.05 kB / 0.6398 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.2996, allocations: 15.38 kB / 0.6398 GB, free: 11.81 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2996, allocations: 0 / 0.6398 GB, free: 11.81 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7635/1.063, allocations: 1.522 MB / 0.6413 GB, free: 10.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.83, allocations: 7.25 kB / 0.6413 GB, free: 10.35 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)