Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",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.007072/0.007072, allocations: 97.89 kB / 15.73 MB, free: 6.047 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.357/1.357, allocations: 222.9 MB / 239.4 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002195/0.002196, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5149/0.515, allocations: 91.91 MB / 431.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 78.56 kB / 0.5722 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.121, allocations: 71.3 MB / 0.6419 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.00705/0.1281, allocations: 6.061 MB / 0.6478 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003736/0.1319, allocations: 1.782 MB / 0.6495 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009301/0.1328, allocations: 12 kB / 0.6495 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.1337, allocations: 230.1 kB / 0.6497 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.1359, allocations: 0.6018 MB / 0.6503 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.1377, allocations: 0.756 MB / 0.6511 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.1395, allocations: 1.366 MB / 0.6524 GB, free: 9.234 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004192/0.1399, allocations: 291.6 kB / 0.6527 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005911/0.1405, allocations: 0.5446 MB / 0.6532 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007598/0.1413, allocations: 0.7039 MB / 0.6539 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.1414, allocations: 104 kB / 0.654 GB, free: 7.582 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.1418, allocations: 215.9 kB / 0.6542 GB, free: 7.371 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.142, allocations: 270.9 kB / 0.6545 GB, free: 7.105 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004702/0.1425, allocations: 0.5981 MB / 0.6551 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.144, allocations: 1.463 MB / 0.6565 GB, free: 5.035 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.144, allocations: 0 / 0.6565 GB, free: 5.035 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.144, allocations: 0 / 0.6565 GB, free: 5.035 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.144, allocations: 3.938 kB / 0.6565 GB, free: 5.031 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.008094/0.1521, allocations: 2.539 MB / 0.659 GB, free: 2.438 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1522, allocations: 8.031 kB / 0.659 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.1523, allocations: 122.5 kB / 0.6591 GB, free: 2.301 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/0.1566, allocations: 0.6821 MB / 0.6598 GB, free: 1.617 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.1578, allocations: 0.7447 MB / 0.6605 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.1582, allocations: 345.3 kB / 0.6608 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.1584, allocations: 79.89 kB / 0.6609 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.1607, allocations: 1.102 MB / 0.662 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1607, allocations: 4 kB / 0.662 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.1608, allocations: 31.98 kB / 0.662 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.1609, allocations: 20 kB / 0.662 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.1632, allocations: 1.05 MB / 0.663 GB, free: 14.12 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006678/0.1699, allocations: 3.417 MB / 0.6664 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01654/0.1865, allocations: 3.946 MB / 0.6702 GB, free: 6.465 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.1883, allocations: 0.7352 MB / 0.6709 GB, free: 5.727 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.1885, allocations: 12.98 kB / 0.671 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.1885, allocations: 43.56 kB / 0.671 GB, free: 5.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.496e-06/0.1885, allocations: 0 / 0.671 GB, free: 5.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.03608/0.2246, allocations: 8.458 MB / 0.6793 GB, free: 13.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.2247, allocations: 90.11 kB / 0.6793 GB, free: 13.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.2261, allocations: 0.853 MB / 0.6802 GB, free: 12.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.2263, allocations: 41.7 kB / 0.6802 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.2267, allocations: 461.1 kB / 0.6807 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/0.2272, allocations: 325.2 kB / 0.681 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004779/0.2277, allocations: 162.6 kB / 0.6811 GB, free: 11.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2278, allocations: 341.9 kB / 0.6815 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.2294, allocations: 0.6422 MB / 0.6821 GB, free: 10.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.2311, allocations: 0.7768 MB / 0.6828 GB, free: 9.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/0.2343, allocations: 1.43 MB / 0.6842 GB, free: 7.914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.2343, allocations: 0 / 0.6842 GB, free: 7.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01515/0.2495, allocations: 4.312 MB / 0.6884 GB, free: 3.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.2496, allocations: 4 kB / 0.6885 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.2496, allocations: 7.938 kB / 0.6885 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007453/0.257, allocations: 2.084 MB / 0.6905 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.2578, allocations: 123.8 kB / 0.6906 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02951/0.2873, allocations: 10.66 MB / 0.701 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.2891, allocations: 167.3 kB / 0.7012 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.2893, allocations: 32 kB / 0.7012 GB, free: 6.367 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0005849/0.2899, allocations: 219.2 kB / 0.7014 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003668/0.2903, allocations: 127.2 kB / 0.7015 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01537/0.3057, allocations: 4.259 MB / 0.7057 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/0.3058, allocations: 15.98 kB / 0.7057 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3058, allocations: 3.938 kB / 0.7057 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/0.3058, allocations: 3.984 kB / 0.7057 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/0.3248, allocations: 5.682 MB / 0.7113 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.3248, allocations: 0 / 0.7113 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.3254, allocations: 79.84 kB / 0.7113 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/0.3356, allocations: 1.979 MB / 0.7133 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003541/0.336, allocations: 16 kB / 0.7133 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03666/0.3727, allocations: 9.462 MB / 0.7225 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3727, allocations: 0 / 0.7225 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01861/0.3914, allocations: 5.252 MB / 0.7277 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.3919, allocations: 208.1 kB / 0.7279 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/0.3922, allocations: 12 kB / 0.7279 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.3935, allocations: 107.8 kB / 0.728 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007646/0.3943, allocations: 228.5 kB / 0.7282 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.3944, allocations: 20 kB / 0.7282 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008622/0.3953, allocations: 0.5869 MB / 0.7288 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3953, allocations: 0 / 0.7288 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00147/0.3968, allocations: 423.7 kB / 0.7292 GB, free: 9.355 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01767/0.4144, allocations: 5.815 MB / 0.7349 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008164/0.4226, allocations: 2.416 MB / 0.7372 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4227, allocations: 3.938 kB / 0.7372 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005952/0.4286, allocations: 1.668 MB / 0.7389 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.4297, allocations: 98.09 kB / 0.739 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0422/0.4719, allocations: 15.37 MB / 0.754 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.4726, allocations: 1.053 MB / 0.755 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003469/0.473, allocations: 82.3 kB / 0.7551 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005651/0.4736, allocations: 403.3 kB / 0.7555 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.4736, allocations: 0 / 0.7555 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3329/0.8065, allocations: 35.78 MB / 0.7904 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.51, allocations: 8.203 kB / 0.7904 GB, free: 113.5 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)