Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",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.001342/0.001342, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001473/0.001473, allocations: 191.9 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8259/0.8259, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 73.44 kB / 0.5735 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.152, allocations: 78.86 MB / 0.6506 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002389/0.1545, allocations: 1.42 MB / 0.6519 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005045/0.155, allocations: 257.8 kB / 0.6522 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.155, allocations: 0 / 0.6522 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.1551, allocations: 3.938 kB / 0.6522 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.1551, allocations: 15.92 kB / 0.6522 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1554, allocations: 59.81 kB / 0.6523 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.497e-05/0.1555, allocations: 16 kB / 0.6523 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.291e-05/0.1556, allocations: 7.984 kB / 0.6523 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.139e-05/0.1556, allocations: 11.88 kB / 0.6523 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.1557, allocations: 15.92 kB / 0.6523 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.1557, allocations: 0 / 0.6523 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1558, allocations: 71.86 kB / 0.6524 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.767e-06/0.1558, allocations: 0 / 0.6524 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.1559, allocations: 11.94 kB / 0.6524 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.156, allocations: 56.12 kB / 0.6524 GB, free: 1.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.156, allocations: 0 / 0.6524 GB, free: 1.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.156, allocations: 4 kB / 0.6525 GB, free: 1.621 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.156, allocations: 0 / 0.6525 GB, free: 1.621 MB / 494.1 MB 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.0004469/0.1565, allocations: 343.4 kB / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1565, allocations: 8.031 kB / 0.6528 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.1566, allocations: 38.62 kB / 0.6528 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.1566, allocations: 4.938 kB / 0.6528 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1568, allocations: 168.3 kB / 0.653 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.1568, allocations: 384 / 0.653 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.1568, allocations: 384 / 0.653 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.157, allocations: 50.23 kB / 0.653 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.157, allocations: 3.938 kB / 0.653 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.157, allocations: 0 / 0.653 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.157, allocations: 4 kB / 0.653 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.1572, allocations: 31.95 kB / 0.6531 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.1575, allocations: 252.8 kB / 0.6533 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1577, allocations: 42.53 kB / 0.6534 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.843e-05/0.1578, allocations: 24.91 kB / 0.6534 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007601/0.1585, allocations: 457.5 kB / 0.6538 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1586, allocations: 34.56 kB / 0.6538 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1586, allocations: 0 / 0.6538 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003511/0.1589, allocations: 85.67 kB / 0.6539 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.159, allocations: 51.41 kB / 0.654 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.1591, allocations: 101.9 kB / 0.6541 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1591, allocations: 25.7 kB / 0.6541 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.1591, allocations: 84.12 kB / 0.6542 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.1592, allocations: 7.953 kB / 0.6542 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.1592, allocations: 13.72 kB / 0.6542 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1593, allocations: 310.8 kB / 0.6545 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.1594, allocations: 20.02 kB / 0.6545 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.746e-05/0.1595, allocations: 19.97 kB / 0.6545 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1597, allocations: 36.83 kB / 0.6546 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.1597, allocations: 3.938 kB / 0.6546 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001968/0.1599, allocations: 73.66 kB / 0.6546 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1599, allocations: 4 kB / 0.6546 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1599, allocations: 3.938 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1599, allocations: 4 kB / 0.6547 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.16, allocations: 7.984 kB / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.16, allocations: 3.984 kB / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.1601, allocations: 4 kB / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1601, allocations: 192 / 0.6547 GB, free: 15.02 MB / 0.4981 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 (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 8.077e-05/0.1602, allocations: 125.7 kB / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.1602, allocations: 3.953 kB / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.1605, allocations: 80.7 kB / 0.6549 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1605, allocations: 4 kB / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1605, allocations: 0 / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1605, allocations: 0 / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.1607, allocations: 157.6 kB / 0.655 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1607, allocations: 0 / 0.655 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.1607, allocations: 16.02 kB / 0.655 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1607, allocations: 0 / 0.655 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1608, allocations: 0 / 0.655 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1608, allocations: 0 / 0.655 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1608, allocations: 0 / 0.655 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.161, allocations: 167.5 kB / 0.6552 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.1611, allocations: 77.11 kB / 0.6553 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1611, allocations: 3.984 kB / 0.6553 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.1612, allocations: 7.938 kB / 0.6553 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.1612, allocations: 4 kB / 0.6553 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.1612, allocations: 3.984 kB / 0.6553 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.1613, allocations: 83.28 kB / 0.6554 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1613, allocations: 0 / 0.6554 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002306/0.1615, allocations: 15.94 kB / 0.6554 GB, free: 14.18 MB / 0.4981 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 (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.000639/0.1621, allocations: 0.7241 MB / 0.6561 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1624, allocations: 35.91 kB / 0.6561 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1624, allocations: 0 / 0.6561 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.1625, allocations: 23.97 kB / 0.6562 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1627, allocations: 5.875 kB / 0.6562 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.1631, allocations: 131.4 kB / 0.6563 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1634, allocations: 0.6807 MB / 0.6569 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.1634, allocations: 0 / 0.6569 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.1635, allocations: 11.44 kB / 0.657 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1635, allocations: 3.938 kB / 0.657 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.2031, allocations: 1.513 MB / 0.6584 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.303, allocations: 0 / 0.6584 GB, free: 11.03 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)