Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.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.0008851/0.0008851, 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.0009692/0.0009692, 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.9264/0.9264, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7269/0.7269, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.617e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002203/0.00222, allocations: 1.928 MB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.003194, allocations: 0.6972 MB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.003295, allocations: 7.938 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.003515, allocations: 87.56 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.947e-05/0.003604, allocations: 87.64 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.004068, allocations: 191 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.004296, allocations: 263.3 kB / 0.6213 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.004427, allocations: 50.11 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.004571, allocations: 159.7 kB / 0.6215 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.00486, allocations: 143.7 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.004889, allocations: 20 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.004992, allocations: 91.92 kB / 0.6217 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.005053, allocations: 55.77 kB / 0.6218 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.005111, allocations: 59.83 kB / 0.6218 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.005398, allocations: 331 kB / 0.6221 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.0054, allocations: 0 / 0.6221 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.22e-07/0.005401, allocations: 0 / 0.6221 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.005406, allocations: 4 kB / 0.6221 GB, free: 9.516 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005917/0.005997, allocations: 0.5102 MB / 0.6226 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.006031, allocations: 12.03 kB / 0.6226 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.006067, allocations: 46.73 kB / 0.6227 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.00611, allocations: 32.75 kB / 0.6227 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.006425, allocations: 244.9 kB / 0.623 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.006444, allocations: 12.38 kB / 0.623 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.00647, allocations: 20.33 kB / 0.623 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.006753, allocations: 300.8 kB / 0.6233 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.006761, allocations: 192 / 0.6233 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.006777, allocations: 15.92 kB / 0.6233 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.006783, allocations: 4 kB / 0.6233 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.00695, allocations: 163 kB / 0.6234 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.007512, allocations: 0.602 MB / 0.624 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.007736, allocations: 184.4 kB / 0.6242 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.007843, allocations: 122.5 kB / 0.6243 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.007856, allocations: 3.938 kB / 0.6243 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.008049, allocations: 206.7 kB / 0.6245 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.00805, allocations: 3.938 kB / 0.6245 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0004531/0.008503, allocations: 446.3 kB / 0.625 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.008554, allocations: 136.5 kB / 0.6251 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.008731, allocations: 277.9 kB / 0.6254 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.008749, allocations: 29.7 kB / 0.6254 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.00883, allocations: 160.4 kB / 0.6255 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.00886, allocations: 51.58 kB / 0.6256 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.008908, allocations: 41.72 kB / 0.6256 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.008993, allocations: 330.8 kB / 0.6259 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.009102, allocations: 121.7 kB / 0.6261 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.009236, allocations: 210.2 kB / 0.6263 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.009458, allocations: 252.9 kB / 0.6265 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.00946, allocations: 4.031 kB / 0.6265 GB, free: 4.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003109/0.009771, allocations: 380.7 kB / 0.6269 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.009802, allocations: 37.69 kB / 0.6269 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009807, allocations: 0 / 0.6269 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.009819, allocations: 4 kB / 0.6269 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.009897, allocations: 23.98 kB / 0.6269 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.009904, allocations: 4 kB / 0.6269 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.009969, allocations: 23.97 kB / 0.627 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.009983, allocations: 15.94 kB / 0.627 GB, free: 4.18 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001292/0.01011, allocations: 192.4 kB / 0.6272 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.01014, allocations: 31.81 kB / 0.6272 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.01018, allocations: 25.77 kB / 0.6272 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01018, allocations: 0 / 0.6272 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01019, allocations: 4 kB / 0.6272 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.01019, allocations: 0 / 0.6272 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.01037, allocations: 240.6 kB / 0.6274 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01037, allocations: 4 kB / 0.6274 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.01043, allocations: 15.98 kB / 0.6275 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.01043, allocations: 0 / 0.6275 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.01044, allocations: 4 kB / 0.6275 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01044, allocations: 0 / 0.6275 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01044, allocations: 0 / 0.6275 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.01091, allocations: 0.5356 MB / 0.628 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.01093, allocations: 23.88 kB / 0.628 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.01096, allocations: 8 kB / 0.628 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.01101, allocations: 16.05 kB / 0.628 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.01107, allocations: 23.95 kB / 0.6281 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.01109, allocations: 8 kB / 0.6281 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001282/0.01121, allocations: 201.4 kB / 0.6283 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01121, allocations: 0 / 0.6283 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003243/0.01154, allocations: 59.88 kB / 0.6283 GB, free: 2.711 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.000695/0.01223, allocations: 1.101 MB / 0.6294 GB, free: 1.562 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.01254, allocations: 326.6 kB / 0.6297 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01255, allocations: 0 / 0.6297 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.01268, allocations: 185 kB / 0.6299 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.01287, allocations: 30.77 kB / 0.6299 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.01508, allocations: 2.942 MB / 0.6328 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.716e-05/0.01517, allocations: 148.8 kB / 0.6329 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.719e-05/0.01523, allocations: 17.48 kB / 0.6329 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.01531, allocations: 72.47 kB / 0.633 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of SimCode: time 8.12e-07/0.01531, allocations: 0 / 0.633 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.03389, allocations: 6.222 MB / 0.6391 GB, free: 7.641 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/6.931, allocations: 13.09 kB / 0.6391 GB, free: 7.633 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.742328459396958] Failed to read output from testmodel.py, exit status != 0: 7.014396063052118 7.025123574 7.017325774 Calling exit ...