Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 225.6 MB / 246.2 MB, free: 13.62 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 199.1 kB / 301.4 MB, free: 9.117 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5252/0.5252, allocations: 98.7 MB / 455.2 MB, free: 5.348 MB / 318.1 MB " [Timeout remaining time 179] 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.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 83.86 kB / 0.6087 GB, free: 9.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1436, allocations: 76.69 MB / 0.6836 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.007085/0.1507, allocations: 6.137 MB / 0.6896 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003643/0.1543, allocations: 1.79 MB / 0.6913 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004506/0.1548, allocations: 8 kB / 0.6914 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.1553, allocations: 234.1 kB / 0.6916 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.1567, allocations: 0.6004 MB / 0.6922 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1584, allocations: 0.7617 MB / 0.6929 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.16, allocations: 1.37 MB / 0.6942 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.1604, allocations: 203.3 kB / 0.6944 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.161, allocations: 0.5407 MB / 0.695 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008211/0.1618, allocations: 0.7117 MB / 0.6957 GB, free: 60 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2888/0.4506, allocations: 109.5 kB / 0.6958 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008606/0.4515, allocations: 213 kB / 0.696 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.4518, allocations: 284 kB / 0.6962 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006106/0.4524, allocations: 0.5876 MB / 0.6968 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.4541, allocations: 1.459 MB / 0.6982 GB, free: 10.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4541, allocations: 0 / 0.6982 GB, free: 10.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4541, allocations: 0 / 0.6982 GB, free: 10.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.4541, allocations: 0 / 0.6982 GB, free: 10.12 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007853/0.462, allocations: 2.541 MB / 0.7007 GB, free: 9.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.462, allocations: 9.469 kB / 0.7007 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.4622, allocations: 123.4 kB / 0.7008 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004084/0.4663, allocations: 0.6791 MB / 0.7015 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.4675, allocations: 0.755 MB / 0.7023 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003321/0.4678, allocations: 343.1 kB / 0.7026 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.468, allocations: 74.44 kB / 0.7026 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.4703, allocations: 1.114 MB / 0.7037 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.4703, allocations: 0 / 0.7037 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.581e-05/0.4704, allocations: 30 kB / 0.7038 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.4704, allocations: 17.41 kB / 0.7038 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.4727, allocations: 1.065 MB / 0.7048 GB, free: 8.383 MB / 494.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.006054/0.4787, allocations: 3.416 MB / 0.7082 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01615/0.4949, allocations: 3.875 MB / 0.7119 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/0.4968, allocations: 0.6724 MB / 0.7126 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.4969, allocations: 14.55 kB / 0.7126 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.4969, allocations: 51.75 kB / 0.7127 GB, free: 5.719 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 3.106e-06/0.4969, allocations: 0 / 0.7127 GB, free: 5.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.03537/0.5323, allocations: 8.664 MB / 0.7211 GB, free: 2.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.5324, allocations: 89.58 kB / 0.7212 GB, free: 2.828 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.5336, allocations: 0.8493 MB / 0.722 GB, free: 2.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002516/0.5338, allocations: 45.94 kB / 0.7221 GB, free: 2.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.534, allocations: 456.6 kB / 0.7225 GB, free: 1.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.5343, allocations: 321.2 kB / 0.7228 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.5347, allocations: 157.3 kB / 0.723 GB, free: 1.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.5347, allocations: 342.4 kB / 0.7233 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.5362, allocations: 0.6394 MB / 0.7239 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.5377, allocations: 0.7843 MB / 0.7247 GB, free: 420 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.5409, allocations: 1.457 MB / 0.7261 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5409, allocations: 1.188 kB / 0.7261 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01529/0.5562, allocations: 4.329 MB / 0.7303 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.5562, allocations: 7.312 kB / 0.7303 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.5562, allocations: 6.969 kB / 0.7304 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007619/0.5638, allocations: 2.136 MB / 0.7324 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.5646, allocations: 135.4 kB / 0.7326 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02871/0.5933, allocations: 10.81 MB / 0.7431 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.5949, allocations: 171.3 kB / 0.7433 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.595, allocations: 28.69 kB / 0.7433 GB, free: 4.625 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.0005079/0.5955, allocations: 237.9 kB / 0.7435 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.5958, allocations: 119.2 kB / 0.7437 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/0.611, allocations: 4.288 MB / 0.7478 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.611, allocations: 9.922 kB / 0.7479 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.611, allocations: 0 / 0.7479 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-05/0.6111, allocations: 4.047 kB / 0.7479 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/0.6285, allocations: 5.692 MB / 0.7534 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.6285, allocations: 10.98 kB / 0.7534 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.629, allocations: 81.97 kB / 0.7535 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007367/0.6364, allocations: 2.034 MB / 0.7555 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/0.6366, allocations: 19.98 kB / 0.7555 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02586/0.6625, allocations: 9.619 MB / 0.7649 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6625, allocations: 0 / 0.7649 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/0.6794, allocations: 5.268 MB / 0.7701 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.6799, allocations: 199.8 kB / 0.7702 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.6801, allocations: 19.94 kB / 0.7703 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.6812, allocations: 111.9 kB / 0.7704 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007314/0.6819, allocations: 223.9 kB / 0.7706 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.274e-05/0.682, allocations: 27.98 kB / 0.7706 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008384/0.6829, allocations: 0.5752 MB / 0.7712 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6829, allocations: 4 kB / 0.7712 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001305/0.6842, allocations: 419.7 kB / 0.7716 GB, free: 7.516 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.0174/0.7016, allocations: 5.842 MB / 0.7773 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007918/0.7095, allocations: 2.39 MB / 0.7796 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7095, allocations: 4.25 kB / 0.7796 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005878/0.7154, allocations: 1.645 MB / 0.7812 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.7164, allocations: 99.36 kB / 0.7813 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04252/0.7589, allocations: 15.4 MB / 0.7964 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007432/0.7597, allocations: 1.053 MB / 0.7974 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000415/0.7601, allocations: 87.28 kB / 0.7975 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/0.7606, allocations: 403.3 kB / 0.7978 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/0.7606, allocations: 0 / 0.7978 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07978/0.8404, allocations: 36.54 MB / 0.8335 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/16.65, allocations: 0 / 0.8335 GB, free: 8.125 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.79518170899246] Failed to read output from testmodel.py, exit status != 0: 16.757865453022532 16.780984691 16.322497881 Calling exit ...