Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0008385/0.0008385, 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.001009/0.001009, 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.8842/0.8842, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001437/0.001437, allocations: 241.1 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6721/0.6721, allocations: 138.4 MB / 454.3 MB, free: 30.06 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.179e-05, allocations: 10.16 kB / 0.6464 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001238/0.001259, allocations: 0.6076 MB / 0.6469 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.002675, allocations: 1.124 MB / 0.648 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.002699, allocations: 4 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.002713, allocations: 0 / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.002966, allocations: 23.91 kB / 0.6481 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 4.118e-06/0.00297, allocations: 0 / 0.6481 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.202e-05/0.003012, allocations: 4 kB / 0.6481 GB, free: 40 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.003056, allocations: 0 / 0.6481 GB, free: 40 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.003084, allocations: 7.922 kB / 0.6481 GB, free: 32 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.353e-05/0.003108, allocations: 4 kB / 0.6481 GB, free: 28 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.003117, allocations: 0 / 0.6481 GB, free: 28 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.833e-05/0.003215, allocations: 19.88 kB / 0.6481 GB, free: 8 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.003223, allocations: 4 kB / 0.6481 GB, free: 4 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.2424/0.2456, allocations: 4.031 kB / 0.6481 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2458, allocations: 10.5 kB / 0.6481 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2458, allocations: 0 / 0.6481 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2458, allocations: 0 / 0.6481 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2458, allocations: 1.156 kB / 0.6481 GB, free: 55.85 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002108/0.246, allocations: 241.2 kB / 0.6484 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2461, allocations: 12.88 kB / 0.6484 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.223e-05/0.2461, allocations: 33.38 kB / 0.6484 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.2461, allocations: 2.875 kB / 0.6484 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.608e-05/0.2461, allocations: 103 kB / 0.6485 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.2461, allocations: 3.438 kB / 0.6485 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2462, allocations: 3.062 kB / 0.6485 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.222e-05/0.2462, allocations: 36.98 kB / 0.6485 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2463, allocations: 4.688 kB / 0.6485 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.2463, allocations: 384 / 0.6485 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2463, allocations: 3.938 kB / 0.6485 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.2463, allocations: 5 kB / 0.6486 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.193e-05/0.2464, allocations: 122.9 kB / 0.6487 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.2466, allocations: 33.86 kB / 0.6487 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.2466, allocations: 7.531 kB / 0.6487 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.2467, allocations: 10.25 kB / 0.6487 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.2467, allocations: 33.38 kB / 0.6488 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.2467, allocations: 0.5625 kB / 0.6488 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.002105/0.2488, allocations: 0.5791 MB / 0.6493 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.2489, allocations: 54.61 kB / 0.6494 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.385e-05/0.2489, allocations: 89.86 kB / 0.6495 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.2489, allocations: 27.27 kB / 0.6495 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.496e-06/0.2489, allocations: 85.62 kB / 0.6496 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.2489, allocations: 14.42 kB / 0.6496 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.249, allocations: 21.44 kB / 0.6496 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.988e-05/0.249, allocations: 318 kB / 0.6499 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.2493, allocations: 83.98 kB / 0.65 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.2495, allocations: 103.9 kB / 0.6501 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.2501, allocations: 188.7 kB / 0.6503 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2501, allocations: 3.203 kB / 0.6503 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005458/0.2506, allocations: 212.2 kB / 0.6505 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2506, allocations: 5.906 kB / 0.6505 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2506, allocations: 2 kB / 0.6505 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.2507, allocations: 4.547 kB / 0.6505 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.2508, allocations: 50.45 kB / 0.6505 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.2508, allocations: 1.75 kB / 0.6505 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.251, allocations: 40.64 kB / 0.6506 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.251, allocations: 7.266 kB / 0.6506 GB, free: 54.41 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 5.462e-05/0.251, allocations: 116.2 kB / 0.6507 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.2511, allocations: 3.062 kB / 0.6507 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/0.2517, allocations: 236.6 kB / 0.6509 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2517, allocations: 8.203 kB / 0.6509 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.2517, allocations: 0.7031 kB / 0.6509 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2517, allocations: 0 / 0.6509 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/0.2524, allocations: 430.4 kB / 0.6513 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2524, allocations: 2.859 kB / 0.6513 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.2526, allocations: 52.73 kB / 0.6514 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2526, allocations: 0 / 0.6514 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2526, allocations: 3.062 kB / 0.6514 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2526, allocations: 2.969 kB / 0.6514 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2526, allocations: 0 / 0.6514 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/0.2531, allocations: 304.3 kB / 0.6517 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.2531, allocations: 2.266 kB / 0.6517 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.2531, allocations: 0.5156 kB / 0.6517 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.2533, allocations: 43.61 kB / 0.6517 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.2533, allocations: 2.688 kB / 0.6517 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2533, allocations: 6.922 kB / 0.6517 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.054e-05/0.2533, allocations: 75.28 kB / 0.6518 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2533, allocations: 4.719 kB / 0.6518 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00017/0.2535, allocations: 8.25 kB / 0.6518 GB, free: 53.72 MB / 0.5573 GB 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 (5): * Single equations (assignments): 5 * 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.0007216/0.2542, allocations: 0.8413 MB / 0.6526 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005745/0.2548, allocations: 185.9 kB / 0.6528 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2548, allocations: 0 / 0.6528 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.255, allocations: 88.36 kB / 0.6529 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.2552, allocations: 7.438 kB / 0.6529 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/0.2559, allocations: 253.5 kB / 0.6531 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.37e-05/0.2559, allocations: 58.39 kB / 0.6532 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000102/0.256, allocations: 30.55 kB / 0.6532 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.2561, allocations: 11.5 kB / 0.6532 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/0.2561, allocations: 0.5469 kB / 0.6532 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.2706, allocations: 2.291 MB / 0.6555 GB, free: 52.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/6.735, allocations: 10.91 kB / 0.6555 GB, free: 52 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.282010652124882] Failed to read output from testmodel.py, exit status != 0: 6.812512105330825 6.8214918220000005 6.573928931 Calling exit ...