Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.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.0008559/0.0008559, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008141/0.0008141, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9406/0.9406, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.745/0.745, allocations: 154.5 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.115e-06/3.115e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/3.12e-05, allocations: 8.297 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002061/0.002093, allocations: 0.6583 MB / 0.6188 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008923/0.002985, allocations: 0.8159 MB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.003019, allocations: 0 / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.003047, allocations: 0 / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.034e-05/0.003108, allocations: 7.875 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.003303, allocations: 11.98 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.734e-05/0.003371, allocations: 23.92 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.003466, allocations: 4 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.003536, allocations: 11.98 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.003573, allocations: 15.92 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.003588, allocations: 4 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.353e-05/0.003631, allocations: 7.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.003651, allocations: 11.98 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.003667, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.003773, allocations: 23.97 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003775, allocations: 0 / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.313e-06/0.003777, allocations: 0 / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.00378, allocations: 0 / 0.6197 GB, free: 12.06 MB / 0.5886 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.000362/0.004142, allocations: 266.3 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.004189, allocations: 17.39 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.004222, allocations: 34.75 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.578e-05/0.004298, allocations: 8.891 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.233e-05/0.00439, allocations: 105.8 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.004402, allocations: 4.375 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.004411, allocations: 384 / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.004559, allocations: 50.23 kB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.004568, allocations: 192 / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.004578, allocations: 384 / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.004587, allocations: 4.125 kB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.402e-05/0.004681, allocations: 39.95 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.005013, allocations: 212 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.005105, allocations: 38.55 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.005153, allocations: 20.91 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.005177, allocations: 4 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.005201, allocations: 34.5 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.005202, allocations: 0 / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002558/0.005458, allocations: 93.53 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.005499, allocations: 51.41 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.005572, allocations: 97.84 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.005584, allocations: 29.7 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.005627, allocations: 84.14 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.005647, allocations: 3.953 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.005674, allocations: 13.72 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.005773, allocations: 318.9 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.967e-05/0.005822, allocations: 19.97 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.005859, allocations: 19.98 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.881e-05/0.005938, allocations: 32.83 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.00594, allocations: 0 / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001351/0.006075, allocations: 77.59 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.00609, allocations: 4 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.006095, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.006109, allocations: 4.188 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.00618, allocations: 7.984 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.006186, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.006209, allocations: 7.938 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.006216, allocations: 3.984 kB / 0.6213 GB, free: 10.19 MB / 0.5886 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 6.363e-05/0.00628, allocations: 118.8 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.006292, allocations: 7.969 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.006435, allocations: 72.91 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.006438, allocations: 0 / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.006444, allocations: 0 / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.006449, allocations: 0 / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.006554, allocations: 124.8 kB / 0.6216 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.006554, allocations: 0 / 0.6216 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.006579, allocations: 15.98 kB / 0.6216 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.006582, allocations: 3.969 kB / 0.6216 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.006589, allocations: 4 kB / 0.6216 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.00659, allocations: 0 / 0.6216 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006592, allocations: 0 / 0.6216 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.00673, allocations: 163.5 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.00674, allocations: 7.938 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.00675, allocations: 0 / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.006786, allocations: 7.984 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.006823, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.006826, allocations: 4.031 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.007e-05/0.006856, allocations: 87.22 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006856, allocations: 0 / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001407/0.006997, allocations: 7.938 kB / 0.6219 GB, free: 9.496 MB / 0.5886 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.0003467/0.007343, allocations: 0.6929 MB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.007486, allocations: 36 kB / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.007488, allocations: 0 / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.007529, allocations: 19.92 kB / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.007777, allocations: 11.98 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.008145, allocations: 130.5 kB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.681e-05/0.008192, allocations: 59.34 kB / 0.6228 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.253e-05/0.008215, allocations: 4.125 kB / 0.6228 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.008253, allocations: 12.5 kB / 0.6228 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of SimCode: time 1.513e-06/0.008254, allocations: 0 / 0.6228 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.02281, allocations: 1.952 MB / 0.6247 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/6.734, allocations: 0 / 0.6247 GB, free: 6.641 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.625689909793437] Failed to read output from testmodel.py, exit status != 0: 6.81427688151598 6.827540033 6.821337953 Calling exit ...