Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007825/0.0007825, allocations: 0 / 0, free: 0 / 0 " [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.0002726/0.0002726, allocations: 0 / 0, free: 0 / 0 " [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.6419/0.6419, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.03499/0.03499, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.51e-07/7.51e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.444e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.06455/0.06456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.02839/0.09295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.09317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.005261/0.09843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.006494/0.1049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 9.959e-05/0.105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.588e-05/0.105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 8.601e-05/0.1051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.1052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.01319/0.1184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.1184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.1185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.04706/0.1655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 3.226e-05/0.1656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.855e-06/0.1656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 6.803e-06/0.1656, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002986/0.1685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.226e-05/0.1686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.1687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.1689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.1691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.1691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.1698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.1698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007293/0.1705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.1715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.1715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.2925/0.464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.4641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=14): time 6.202e-06/0.4641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=14): time 0.001341/0.4654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.4654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.4655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.4655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.4656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/0.4656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.4657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.956e-05/0.4657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.4658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.4659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.4661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002228/0.4663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.4665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.4666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.4666, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state_p.phase,state_h.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.353e-05/0.4667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.4667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009815/0.4677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.4677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.4684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.4685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.4685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.4691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/0.4691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.4693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.4693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.4693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 1.95e-05/0.4693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.913e-06/0.4693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.00198/0.4713, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003619/0.4749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002642/0.4752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 9.737e-05/0.4753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.4788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 7.138e-05/0.4789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002199/0.4791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.4794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.975e-05/0.4795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.0005458/0.48, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.03716/0.5172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.5744/1.092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 4.464e-05/1.092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.209e-05/1.092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.2 MB unzipped): time 0.0002443/1.092, allocations: 0 / 0, free: 0 / 0 Notification: FMU-only work: backend 0.0003228, simCode 0.0009135, templates 0.0005315 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 659] cd("run_me") [Timeout 660] "" [Timeout remaining time 660] simulate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater,startTime=0,stopTime=1,tolerance=1e-10,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-10 -stepSize=0.0004 -noemit -s fmi3:me",resimulateExecutable="../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater.fmu") [Timeout 240] "" [Timeout remaining time 240] cd("..") [Timeout 660] "" [Timeout remaining time 660] cd("run_cs") [Timeout 660] "" [Timeout remaining time 660] simulate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater,startTime=0,stopTime=1,tolerance=1e-10,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-10 -stepSize=0.0004 -noemit -s fmi3:cs",resimulateExecutable="../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater.fmu") [Timeout 240] "" [Timeout remaining time 240] cd("..") [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4436541702598333]