Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.0007166/0.0007166, 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.0008249/0.0008249, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8239/0.8239, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.001383/0.001383, allocations: 249.6 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.6636/0.6636, allocations: 138.4 MB / 454.3 MB, free: 30.02 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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.012e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001773/0.001793, allocations: 1.487 MB / 0.6477 GB, free: 376 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2265/0.2283, allocations: 0.5638 MB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.2283, allocations: 0 / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.2284, allocations: 4.406 kB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.2284, allocations: 9.969 kB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.229, allocations: 159.5 kB / 0.6485 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.2291, allocations: 53.44 kB / 0.6485 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.2291, allocations: 8.75 kB / 0.6485 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.552e-05/0.2292, allocations: 29.66 kB / 0.6485 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.2292, allocations: 21.39 kB / 0.6486 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.2292, allocations: 4.5 kB / 0.6486 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.2296, allocations: 281.2 kB / 0.6488 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.2296, allocations: 14.34 kB / 0.6488 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.2296, allocations: 19.23 kB / 0.6489 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.2298, allocations: 189.9 kB / 0.649 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2299, allocations: 0.75 kB / 0.649 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2299, allocations: 0.8125 kB / 0.649 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2299, allocations: 0 / 0.649 GB, free: 55.78 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003439/0.2302, allocations: 319.8 kB / 0.6494 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2302, allocations: 12.09 kB / 0.6494 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.296e-05/0.2303, allocations: 39.38 kB / 0.6494 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.2303, allocations: 9.469 kB / 0.6494 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.801e-05/0.2303, allocations: 114.8 kB / 0.6495 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2304, allocations: 5.812 kB / 0.6495 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.2304, allocations: 9.672 kB / 0.6495 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.2305, allocations: 128.1 kB / 0.6497 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2305, allocations: 1.25 kB / 0.6497 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2306, allocations: 3.531 kB / 0.6497 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2306, allocations: 6.281 kB / 0.6497 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.2307, allocations: 50.5 kB / 0.6497 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.231, allocations: 287.4 kB / 0.65 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.2312, allocations: 76.31 kB / 0.6501 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.2312, allocations: 33.12 kB / 0.6501 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.2313, allocations: 2.969 kB / 0.6501 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.2313, allocations: 39.73 kB / 0.6501 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.2313, allocations: 0 / 0.6501 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.000914/0.2322, allocations: 0.4992 MB / 0.6506 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.2322, allocations: 57 kB / 0.6507 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.114e-05/0.2323, allocations: 105.4 kB / 0.6508 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.2323, allocations: 31.45 kB / 0.6508 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.2323, allocations: 86.53 kB / 0.6509 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.2323, allocations: 38.61 kB / 0.6509 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.2323, allocations: 29.14 kB / 0.651 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.129e-05/0.2324, allocations: 322.8 kB / 0.6513 GB, free: 54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.726e-05/0.2324, allocations: 33.83 kB / 0.6513 GB, free: 54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.2325, allocations: 39 kB / 0.6513 GB, free: 54 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.2326, allocations: 74.52 kB / 0.6514 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2326, allocations: 4.656 kB / 0.6514 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001615/0.2328, allocations: 117.7 kB / 0.6515 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2328, allocations: 4.438 kB / 0.6515 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2328, allocations: 1.75 kB / 0.6515 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2328, allocations: 0 / 0.6515 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.2329, allocations: 25.98 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2329, allocations: 1.906 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.233, allocations: 9.547 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.233, allocations: 3.453 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB 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 (13): * Single equations (assignments): 13 * 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 3.774e-05/0.233, allocations: 124.2 kB / 0.6517 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.233, allocations: 9.906 kB / 0.6517 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.2332, allocations: 128.2 kB / 0.6518 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2332, allocations: 2.312 kB / 0.6518 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2332, allocations: 2.281 kB / 0.6518 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2332, allocations: 2.156 kB / 0.6518 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.2335, allocations: 346.5 kB / 0.6522 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2335, allocations: 1.031 kB / 0.6522 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.2336, allocations: 26.11 kB / 0.6522 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2336, allocations: 0 / 0.6522 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.2336, allocations: 6.672 kB / 0.6522 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2336, allocations: 3.531 kB / 0.6522 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2336, allocations: 5.312 kB / 0.6522 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.2339, allocations: 254.4 kB / 0.6524 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-06/0.2339, allocations: 2.875 kB / 0.6524 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.2339, allocations: 3.859 kB / 0.6524 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.2339, allocations: 5.734 kB / 0.6524 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.2339, allocations: 14.27 kB / 0.6525 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.234, allocations: 4.719 kB / 0.6525 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.245e-05/0.234, allocations: 81.28 kB / 0.6525 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.234, allocations: 0 / 0.6525 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001737/0.2341, allocations: 42.83 kB / 0.6526 GB, free: 53.29 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * 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.0004199/0.2346, allocations: 0.8251 MB / 0.6534 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.2347, allocations: 77.09 kB / 0.6535 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2347, allocations: 1.312 kB / 0.6535 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.2348, allocations: 46.47 kB / 0.6535 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.2351, allocations: 13.77 kB / 0.6535 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2362, allocations: 1.556 MB / 0.655 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.2362, allocations: 76.34 kB / 0.6551 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.067e-05/0.2362, allocations: 17.41 kB / 0.6551 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.2363, allocations: 24.84 kB / 0.6552 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of SimCode: time 2.7e-07/0.2363, allocations: 0 / 0.6552 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.2514, allocations: 3.021 MB / 0.6581 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.288/6.539, allocations: 2.156 kB / 0.6581 GB, free: 50.42 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.988231059163809] Failed to read output from testmodel.py, exit status != 0: 6.615176000632346 6.621995264 6.390711567 Calling exit ...